mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
AK: Don't define ENABLE_COMPILETIME_FORMAT_CHECK when parsed by CLion
This commit is contained in:
parent
880964755b
commit
c837bd551e
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
||||||
#ifdef ENABLE_COMPILETIME_FORMAT_CHECK
|
#ifdef ENABLE_COMPILETIME_FORMAT_CHECK
|
||||||
// FIXME: Seems like clang doesn't like calling 'consteval' functions inside 'consteval' functions quite the same way as GCC does,
|
// FIXME: Seems like clang doesn't like calling 'consteval' functions inside 'consteval' functions quite the same way as GCC does,
|
||||||
// it seems to entirely forget that it accepted that parameters to a 'consteval' function to begin with.
|
// it seems to entirely forget that it accepted that parameters to a 'consteval' function to begin with.
|
||||||
# ifdef __clang__
|
# if defined(__clang__) || defined(__CLION_IDE_)
|
||||||
# undef ENABLE_COMPILETIME_FORMAT_CHECK
|
# undef ENABLE_COMPILETIME_FORMAT_CHECK
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue