Xref: utzoo comp.sys.mac.programmer:12303 comp.sys.mac:48261 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!murdu!ucsvc!wehi!jon From: JON@wehi.dn.mu.oz (Jon Eaves) Newsgroups: comp.sys.mac.programmer,comp.sys.mac,aus.mac Subject: Think C and ANSI compatibility Message-ID: <4809@wehi.dn.mu.oz> Date: 9 Feb 90 11:09:22 GMT Organization: Walter & Eliza Hall Institute Lines: 24 Hi Net, I am using THINK C 3.0, and am wondering why I cannot specify my function parameter lists in the ANSI format even though they are done so in the Standard Libraries Reference. The spec for ungetc -> ungetc(int c, FILE *stream) If I try foo( int bar,char *bar1,Rect *r ) I get the message -> 'Invalid function definition' Is there a compiler switch I should be setting? aTdHvAaNnKcSe -------------------------------------------------------------------------------- Jon Eaves "Life is just the beating you take before you die." - Limmit, _Dr. Adder_ ACSnet ( jon@wehi.dn.mu.oz ) UUCP ( uunet!munnari!wehi.dn.mu.oz!jon ) Internet ( jon%wehi.dn.mu.oz@uunet.uu.net ) --------------------------------------------------------------------------------