ANSI C/gcc1.39 question on Sys Vr4

Tom Armistead toma at swsrv1.cirr.com
Sun Apr 21 11:45:44 AEST 1991


I have gcc 1.39 on System Vr4.  It compiled with just a little trouble,
but when I compile things with, if they include anything from /usr/include,
gcc croaks on some ?ANSI? stuff in the .h files.

This is what causes the problem:

#ifdef __STDC__
#if #machine(pdp11)
#   define ULIMIT 512
#endif
#endif


Can anybody tell me what the '#machine' is supposed to do? gcc just doesn't
understand it?  Is it a gcc problem? Or is it a new ANSI thing?

Thanks for ANY help...

Tom
-- 
Tom Armistead - Software Services - 2918 Dukeswood Dr. - Garland, Tx  75040
===========================================================================
toma at swsrv1.cirr.com                {egsner,letni,ozdaltx,void}!swsrv1!toma



More information about the Comp.lang.c mailing list