[Issue 23702] compilable/test23616.c:3:20: error: missing binary operator before token "("

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 14 06:38:35 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23702

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #6 from Walter Bright <bugzilla at digitalmars.com> ---
__has_extension is a clang invention:

https://clang.llvm.org/docs/LanguageExtensions.html#feature-checking-macros

It is not supported or recognized by ImportC, it is just #undef'd away in
importc.h.

You can file a general issue that importc.h should be documented in the ImportC
specification, but the contents of the file itself serves as its documentation.

Until then, I'll file this as WONTFIX.

--


More information about the Digitalmars-d-bugs mailing list