I use namespaces a lot, and I indent the code within the namespace scope. That also how Xcode auto-formats it.
In one of my projects, this works fine:
In another one, it throws errors that can only be "fixed" by not indenting the code. That really annoys me.
Both projects were created with the R23 Project Tool, and both
projectdefinition.txt look like this (except for the
ModuleId, of course):
// Supported platforms - can be [Win64;OSX] Platform=Win64;OSX // Type of project - can be [Lib;DLL;App] Type=DLL // API dependencies APIS=core.framework;cinema.framework;mesh_misc.framework;math.framework; // C4D component C4D=true stylecheck.level=3 // must be set after c4d=true stylecheck.aswarnings=false stylecheck.max-linecount=300 // Custom ID ModuleId=de.frankwilleke.dim4nsions
Why do these projects behave different?
Thanks in advance!