search for: rewritemodernobjc

Displaying 1 result from an estimated 1 matches for "rewritemodernobjc".

2018 Jun 19
2
Naming clash: -DCLS=n and CLS in code
While building llvm & clang & libs by giving some optimization options to the building compiler, the following error happened: I think it is related to the passed -DCLS=64, because in file clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp:6411 an enum member has the same name (CLS), so it does a macro-substitution with the passed value of CLS, ie. with 64, but which of course then breakes the syntax... I think such "reserved" names like CLS that can be passed to the compiler(s), should be avoided as identifiers for...