Are you using any custom modules, and do any of those set the C++ standard to 17 in their module metadata blocks? Perhaps there’s an unexpected character in there (a tab, by the looks of things) that the parsing code isn’t handling properly.
That was it, thanks. Is it possible to work around that in juceaide/cmake? Seems to be a pretty big limitation if you can’t use CMake if you save your source with tabs?