[Mesa-dev] Mesa (master): glsl: Add using statements for standard library functions.
idr at freedesktop.org
Fri Feb 4 09:58:06 PST 2011
-----BEGIN PGP SIGNED MESSAGE-----
On 02/03/2011 10:36 PM, Jose Fonseca wrote:
> This is very odd behavior from Sun's compiler -- unless we include
> cstdio, printf should be available, not std::printf.
I think we might use cstdio in some places. I find it odd that Sun's
compiler differs from GCC, Visual Studio, ICC, and clang. I'm tempted
to say they're doing it wrong. Is there perhaps a command line option
for Sun's compiler that could change this behavior? Not only is having
to add extra using statements ugly, but I can guarantee it will be
missed in the future.
Maybe the better answer is to not use cstdio and friends at all.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the mesa-dev