I’m trying to build a file using windows eclipse. I have a file (cpp file that includes .hpp) that has the following line:
#define debug(fmt,...) do { printf(fmt "n", __VA_ARGS__); } while(0)
But this is dying due to:
..srcdebug.hpp:32:57: error: expected primary-expression before ')' token
My command line has -std=c++23
defined, so I would expect this to work. What am I missing?