User-namespace pre#defines - new approach
Zack Weinberg
zack@codesourcery.com
Mon Apr 15 17:16:00 GMT 2002
On Mon, Apr 15, 2002 at 02:01:51PM -0700, Richard Henderson wrote:
> On Mon, Apr 15, 2002 at 12:48:12PM -0700, Zack Weinberg wrote:
> > The effect of --deprecated-macro FOO is to cause
> > cpplib to define FOO, __FOO, and __FOO__; FOO gets left out if
> > -ansi/-std=c*, and if it is defined, using it generates a warning.
>
> Everything but the last for windows. Or perhaps you suppress
> the warning for system headers? I don't know whether or not
> the affected symbols are actively requried for user code...
The idea was to continue to use -D for symbols where it isn't
practical to deprecate them, such as _cdecl on Windows.
zw
More information about the Gcc-bugs
mailing list