[comp.sys.sgi] SGI C ANSI-complient or not???

brownrigg@kuhub.cc.ukans.edu (03/13/91)

I keep seeing posts of people suggesting that the SGI c compiler is
ANSI complient.  I must be missing something here, because the version
we have on our new 4D/25 (and any other version for that matter) is so
fornicating K&R that it doesn't understand "void *" as a data type.

What gives?

Rick Brownrigg
Kansas Geological Survey

davea@quasar.wpd.sgi.com (David B.Anderson) (03/14/91)

In article <29042.27dd4bf4@kuhub.cc.ukans.edu> brownrigg@kuhub.cc.ukans.edu writes:
>I keep seeing posts of people suggesting that the SGI c compiler is
>ANSI complient.  I must be missing something here, because the version
>we have on our new 4D/25 (and any other version for that matter) is so
>[<censored :-)>] K&R that it doesn't understand "void *" as a data type.

Best guess: you are still running release 3.2.

Release 3.3 cc understands void, void *.   ANSI C was first released
this year (for use with release 3.3).

Regards,
[ David B. Anderson  Silicon Graphics  (415)335-1548  davea@sgi.com ]
[``What can go wrong?''                           --Calvin to Hobbes]

russell@ccu1.aukuni.ac.nz (Russell J Fulton;ccc032u) (03/15/91)

davea@quasar.wpd.sgi.com (David B.Anderson) writes:

>In article <29042.27dd4bf4@kuhub.cc.ukans.edu> brownrigg@kuhub.cc.ukans.edu writes:
>>I keep seeing posts of people suggesting that the SGI c compiler is
>>ANSI complient.  I must be missing something here, because the version
>>we have on our new 4D/25 (and any other version for that matter) is so
>>[<censored :-)>] K&R that it doesn't understand "void *" as a data type.

>Best guess: you are still running release 3.2.

>Release 3.3 cc understands void, void *.   ANSI C was first released
>this year (for use with release 3.3).

Yes 3.3 has void and can handle prototypes but is still not a full ANSI C
compiler. If I remember correctly the man pages explcitly say it isn't.

>Regards,
>[ David B. Anderson  Silicon Graphics  (415)335-1548  davea@sgi.com ]
>[``What can go wrong?''                           --Calvin to Hobbes]

Cheers,

-- 
Russell Fulton, Computer Center, University of Auckland, New Zealand.
<rj_fulton@aukuni.ac.nz>