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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Turn off ANSI C when compiling

Status
Not open for further replies.

fabien

Technical User
Sep 25, 2001
299
AU
Hi!

I got some code I want to compile and I only have a C compiler (not gcc). When I compile I get lots of prototype missing errors and it stops. Is there an option like noansi I can give to CC to avoid this?

I think it will work with gcc but I can't install it..

Thanks,
 
Since you didn't mention which C compiler you have, you'll have to read the manual.



--
 
The compiler is Sun WorkShop 6 C Compiler Release and I can't find a doc...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top