You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to make the names less likely to collide, otherwise I got a series of errors to the effect of "expected identifier before numeric literal" (and "identifier not declared in current scope" because it stopped parsing declarations when it ran into the previous error). The \b on either side is to prevent the script from changing OpenGL function names.
The text was updated successfully, but these errors were encountered:
DWesl
changed the title
Preprocessor conflict with tokens _B, _X
Preprocessor conflict with tokens _B, _X, _S in AntTweakBar
Jun 7, 2024
https://gcc.gnu.org/onlinedocs/cpp/System-specific-Predefined-Macros.html
https://en.cppreference.com/w/c/language/identifier#Reserved_identifiers
Tokens beginning with an underscore and a capital letter are reserved for the system/compiler.
AntTweakBar uses seven identifiers that are just the underscore and capital letter, at least three of which conflicted with preprocessor definitions.
I ran
to make the names less likely to collide, otherwise I got a series of errors to the effect of "expected identifier before numeric literal" (and "identifier not declared in current scope" because it stopped parsing declarations when it ran into the previous error). The
\b
on either side is to prevent the script from changing OpenGL function names.The text was updated successfully, but these errors were encountered: