Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C compiler for my HP-UX 10.20

Status
Not open for further replies.

omari

Technical User
Jan 16, 2002
9
US
Hello to all of you ,

I got a problem . I was writing a simple C -program and was able to compile
it successfuly with /usr/bin/cc .
But if i declare Function Prototype and start to compile it , it produces an error.
As shown below:

(Bundled) cc: "try.c", line 2: error 1705: Function prototypes are an ANSI featu
re.


Can you all please help me on this one . Thanks .

Rgds ,
omari
 
Omari ;

Have you get the ANSI C compiler on your system ,
HP provide only a minimal compiler for kernel on
the OS base distro
You must get the ANSI C compiler , it's not a free product
Try the gcc compiler portage



Leo-Steph ;-) !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top