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
I have the package "cpm-google-test" installed, and it breaks my build with -Werror because it looks like a macro with hyphens in it is being generated:
<command line>:2:16: error: ISO C99 requires whitespace after the macro name [-Werror,-Wc99-extensions]
#define CPM_CPM-GOOGLE-TEST_NS github_iauns_cpmgoogletest_102
I didn't follow the trail to find out who was defining it, so I could very well be wrong who's at fault. If possible, could we change those hyphens to underscores so that C99 is happy?
The text was updated successfully, but these errors were encountered:
Could these hyphens be coming from a local definition of google test in a makefile? Something akin to CPM_AddModule("cpm-google-test"...) instead of CPM_AddModule("cpm_google_test", ...) . I'll give that module a look over just in case.
I have the package "cpm-google-test" installed, and it breaks my build with -Werror because it looks like a macro with hyphens in it is being generated:
I didn't follow the trail to find out who was defining it, so I could very well be wrong who's at fault. If possible, could we change those hyphens to underscores so that C99 is happy?
The text was updated successfully, but these errors were encountered: