[comp.sys.ibm.pc] Microsoft C 5.1 syntax error ?!?!?!!

austin@iris.ucdavis.edu (Darren Austin) (08/10/88)

Hi all,
	Has anyone else out there ran into this bug/feature before?

When trying to compile a program that included the standard
include file <string.h>, I received the following error message:

C:\MSC5\INCLUDE\STRING.H(30) : error C2059: syntax error : '('

This I thought was rather odd, so I looked at STRING.H to see if
I could figure out what was wrong.  The offending line looks like:

int _CDECL memcmp(const void *, const void *, size_t);
		 ^
		 +--- Would appear this is where the compiler got lost.

I can't figure out what is wrong with this or any of the
surrounding lines.  This has occurred with another one of the
standard include files (I don't recall which one right now).  Has
anyone else run into this problem?  Is there a fix?  Am I doing
anything blatantly stupid?   If you have an answer to any of
these questions please let me know.


Thanks,
--Darren
--
--------------------------------------+-------------------------------
Darren Austin                         | "Live like James Bond -
UC Davis Division of Computer Science |   Die like James Dean"
austin@iris.ucdavis.edu		      | 		-Agent Orange
--------------------------------------+-------------------------------