[cfe-dev] math.h on Windows
john.thompson.jtsoftware at gmail.com
Thu Oct 29 10:34:07 CDT 2009
>Can this be implemented like __has_builtin is?
Oh, I totally missed this! Yes, I'll redo it like this.
>This can be done by just not registering the 'magic' macros in
How is no-extensions mode detected? I was expecting a flag in LangOptions,
but I don't see it, and there is no -fno-extensions option. There is
a -fbuiltin option and a NoBuiltin flag in LangOptions, but that seems to be
for builtin functions, not preprocessor macros. Or perhaps it needs
adding? I don't see an equivalent in gcc. Or perhaps something more
specific like "-fno-magic-macros=[0|1]" or "-fno-magic-macro=(macroname)"
John.Thompson.JTSoftware at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev