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
So if moth hasn't been defined, then math is defined, if you use optionals, which are included by default. So the mere act of including gravity_optionals.h forces math to be included.
This is also true of GRAVITY_INCLUDE_JSON, GRAVITY_INCLUDE_ENV, and GRAVITY_INCLUDE_FILE
If they aren't optional, then there is no need for the #ifdefs, if they are optional then you shouldn't force them. Either way this should probably be changed
The text was updated successfully, but these errors were encountered:
In optionals
gravity_optionals.h
you will find the following (lines 12-14):So if moth hasn't been defined, then math is defined, if you use optionals, which are included by default. So the mere act of including gravity_optionals.h forces math to be included.
This is also true of
GRAVITY_INCLUDE_JSON
,GRAVITY_INCLUDE_ENV
, andGRAVITY_INCLUDE_FILE
If they aren't optional, then there is no need for the
#ifdef
s, if they are optional then you shouldn't force them. Either way this should probably be changedThe text was updated successfully, but these errors were encountered: