This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi,
Chris Lattner <clattner@apple.com> skribis:
On Jan 30, 2012, at 7:56 AM, Ludovic CourtÃs wrote:
Hello,
Chris Lattner <clattner@apple.com> skribis:
If fact, some do: http://clang.llvm.org/docs/LanguageExtensions.html#feature_check
That seems like a very useful approach to solve the problem.
The docs say that â__has_builtinâ & co. are macros. What do they expand to?
0 or 1.
I understand. To put it another way, how are they defined?
Interestingly enough: $ cat q.c __has_builtin $ clang -E q.c <segfault>
-- Marc Glisse
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |