------- Comment #1 from hjl dot tools at gmail dot com  2009-05-08 23:15 -------
Another difference between C and C++:

[...@gnu-6 tmp]$ cat bad.i
typedef int INT2 __attribute__((deprecated));
int f5(INT2 x);
int f6(INT2 x) __attribute__((deprecated));
[...@gnu-6 tmp]$ gcc -S bad.i
bad.i:2: warning: ‘INT2’ is deprecated
bad.i:3: warning: ‘INT2’ is deprecated
[...@gnu-6 tmp]$ g++ -S bad.i
bad.i:2: warning: ‘INT2’ is deprecated (declared at bad.i:1)
[...@gnu-6 tmp]$ 


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40075

Reply via email to