Passing a definition on the gcc command line results in “not declared in this scope”
I’m writing a c++ program and trying to pass a string value from the makefile to the code using the -DMACRO=VALUE format but it results in a compiler error that I don’t quite understand.