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
utilities.h includes logging.h but not the other way round. Thus, if someone includes logging.h without having included utilities.h first, these defines are not set, and compilation will fail on e.g. Windows because it tries to compile gcc-specific code.
A fix could be to move out the OS_* defines into a separate header file which could get included by both logging.h.in and utilities.h.
The text was updated successfully, but these errors were encountered:
logging.h.in
depends onOS_*
defines:glog/src/glog/logging.h.in
Line 104 in 8f9ccfe
utilities.h
:glog/src/utilities.h
Line 37 in 2412db3
utilities.h
includeslogging.h
but not the other way round. Thus, if someone includeslogging.h
without having includedutilities.h
first, these defines are not set, and compilation will fail on e.g. Windows because it tries to compile gcc-specific code.A fix could be to move out the
OS_*
defines into a separate header file which could get included by bothlogging.h.in
andutilities.h
.The text was updated successfully, but these errors were encountered: