svn commit: samba r21338 - in branches/SAMBA_4_0:
. source/pidl/lib/Parse/Pidl/Samba3 source/pidl/tests
Stefan (metze) Metzmacher
metze at samba.org
Thu Feb 15 07:43:42 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
David Collier-Brown schrieb:
> #warning does seem to cause diagnostics on the compilers which don't know
> what it means... is there a case where it's silently ignored and the bad
> just compiles to a non-running executable?
Compilers with support for it just print a warning to stderr and compile
Compilers without port reject to compile.
Both variants are wrong in the current situation, because errors should
be reported when they are detected, so pidl should reject to compile
instead of generating code that may not be useable by the compiler.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical