PR preprocessor/16950: [3.5 regression]: -Wno-deprecated doesn't work
H. J. Lu
hjl@lucon.org
Mon Aug 9 21:03:00 GMT 2004
Hi DJ,
Could you please take a look at it? Your patch:
http://gcc.gnu.org/ml/gcc/2004-06/msg01541.html
removed setting of warn_deprecated in c_common_handle_option in
c-opts.c. It isn't set anywhere in gcc. But it seems that before
Aug. 6, 2004, __DEPRECATED was defined when -Wno-deprecated was
used. But today, __DEPRECATED is always defined due to
if (warn_deprecated)
cpp_define (pfile, "__DEPRECATED");
in c_cpp_builtins in c-cppbuiltin.c.
H.J.
More information about the Gcc
mailing list