g++'s non-conformance

David Starner dvdeug@x8b4e53cd.dhcp.okstate.edu
Thu Dec 9 13:38:00 GMT 1999


On Thu, Dec 09, 1999 at 04:21:38PM -0500, Anjul Srivastava wrote:
> g++ does not accept the following program:
> 
> main()
> {
>     return 1 and 2;
> }

See gcc.info. '-foperator names' is required for proper compliance with
the standard in this regard.

-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4UCE79t4Iknm8qrIRAWwdAJwNkBiFM5apOWii2UION+7TPCyACgCgy7DO
MAden+KjhvsUNktYCQI4/MM=
=Qjbn
-----END PGP SIGNATURE-----


More information about the Gcc mailing list