- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Function prototypes are an ANSI feature
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 04:58 AM
тАО11-15-2005 04:58 AM
/usr/ccs/bin/cc Boundle installed id now present.
follow error
test.c context...
#include
main(int argc, char **argv)
{
printf("Hello World\n");
}
[by:/test]# cc -o test test.c
(Bundled) cc: "test.c", line 2: error 1705: Function prototypes are an ANSI feature.
[by:/test]#
we are purchas C compiler??
-and-----------------------------------
when ANSI feature compiler..
following context .. bundle CC Compile success.
#include
main(argc, argv)
int argc;
char **argv;
{
printf("Hello World\n");
}
Solved! Go to Solution.
- Tags:
- bundled_cc
- prototype
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 05:01 AM
тАО11-15-2005 05:01 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 05:03 AM
тАО11-15-2005 05:03 AM
Re: Function prototypes are an ANSI feature
is ANSI prototyping and enables the compiler to better check if the arguments passed to the function are correct
int foo ()
int bar;
char *baz;
{
is K&R C and does not allow those checks
You are using HP's bundled C compiler, which is NOT ANSI compliant, and also sometimes refered to as the braindead compiler. It's only useful for compiling the kernel
If you want/need ANSI features, buy HP C-ANSI-C or install GNU gcc
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 05:37 AM
тАО11-15-2005 05:37 AM
Re: Function prototypes are an ANSI feature
# swlist -l product | grep -i "ansi c"
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2005 10:37 PM
тАО11-15-2005 10:37 PM
Re: Function prototypes are an ANSI feature
You will have to go online to get a code word and install. I don't think it requires a reboot.last time I installed was 2/2005
and it was on CD #5013-2240
Rory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2006 09:59 PM
тАО01-29-2006 09:59 PM
Re: Function prototypes are an ANSI feature
I'm not a company member of DSPP, so I cant download it...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 08:13 AM
тАО01-30-2006 08:13 AM
Re: Function prototypes are an ANSI feature
You might consider, as noted above, the GNU C compiler
- Tags:
- gcc