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
Maybe it should do #define NULL __null instead when using Clang? Or maybe just drop the #undef and wrap the definition in an #ifndef block, because gcc doesn't appear to have that problem any more?
The text was updated successfully, but these errors were encountered:
eabase.h redefines NULL, which silences some compiler warnings. This is the code that does that: https://github.com/electronicarts/EABase/blob/master/include/Common/EABase/eabase.h#L65-L84
You can see the warnings in action by playing with the code at https://gcc.godbolt.org/z/UrrWs5
Maybe it should do #define NULL __null instead when using Clang? Or maybe just drop the #undef and wrap the definition in an #ifndef block, because gcc doesn't appear to have that problem any more?
The text was updated successfully, but these errors were encountered: