Operating System - HP-UX
1837149 Members
2140 Online
110112 Solutions
New Discussion

Function prototypes are an ANSI

 
Bahman Hedayati
Occasional Advisor

Function prototypes are an ANSI

PROBLEM
When compiling a C/ANSIC program on HP-UX 11.11 64 bit,
#cc Function.c

The following error occurs:

(Bundled) cc: "Function.c", line 3: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "Function.c", line 16: error 1705: Function prototypes are an ANSI feature.


How can this problem be resolved?
Thanks!
1 REPLY 1
Vishwas Pai
Regular Advisor

Re: Function prototypes are an ANSI


You are using HP-bundled cc (which is for
only kernel re-builds). Use HP ANSI-C for
compiling native programs under HPUX-11.11.

HTH -vishwas