64 bit architectures and C/C++

John F Carr jfc at athena.mit.edu
Fri May 3 07:28:52 AEST 1991


In article <1991May2.041911.14489 at zoo.toronto.edu>
	henry at zoo.toronto.edu (Henry Spencer) writes:
>However, why do you assume that the compiler
>must complain *or* generate 64-bit code?  ANSI C does not prevent it from
>doing both.  The only thing the standard requires is that violations of its
>constraints must draw at least one complaint.

I know that diagnostics are not required to be fatal errors, but I would be
annoyed to get a warning every time I compiled code that used a nonstandard
extension.  I think the gcc solution is a good one: support ANSI features by
default, but only print warnings for use of extensions when the user asks
for them.

--
    John Carr (jfc at athena.mit.edu)



More information about the Comp.lang.c mailing list