CARB_WARNING#

Defined in carb/Defines.h

CARB_WARNING(msg)#

Issues a custom message as a compiler warning.

On GCC, this uses _Pragma(GCC warning). However, on MSVC there is no way to issue a custom compiler warning, so this implementation will output it as a compiler message and then an invalid pragma that will issue a warning.

Parameters:
  • msg – A string to issue as custom compiler warning.