This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: type based aliasing again
- To: rra at stanford dot edu (Russ Allbery)
- Subject: Re: type based aliasing again
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Mon, 20 Sep 1999 13:51:42 +0100 (BST)
- Cc: artem at duma dot gov dot ru, gcc at gcc dot gnu dot org, rms at gnu dot org
> -ansi; -ansi is a promise to the compiler that the code is, modulo bugs,
> going to fully comply with the ANSI standard.
No, it's the other way round. -ansi requests that the compiler fully adheres
to the standard.
-pedantic makes it warn about detected standad violations in the source code,
and -pedantic-errors makes it reject them.