There's a typo in the JucerDocument class where generated code misses a ';' when writing the method "Component::setName(xxx)". Wasn't sure how to report bugs... here's a patch.
diff --git a/extras/Introjucer/Source/ComponentEditor/jucer_JucerDocument.cpp b/extras/Introjucer/Source/ComponentEditor/jucer_JucerDocument.cpp index ec3d19b..7247f5e 100644 --- a/extras/Introjucer/Source/ComponentEditor/jucer_JucerDocument.cpp +++ b/extras/Introjucer/Source/ComponentEditor/jucer_JucerDocument.cpp @@ -430,7 +430,7 @@ void JucerDocument::fillInGeneratedCode (GeneratedCode& code) const code.initialisers.addLines (variableInitialisers); if (! componentName.isEmpty()) - code.constructorCode << "setName (" + quotedString (componentName) + ")\n"; + code.constructorCode << "setName (" + quotedString (componentName) + ");\n"; // call these now, just to make sure they're the first two methods in the list. code.getCallbackCode (String::empty, "void", "paint (Graphics& g)", false)
I'm working on Linux right now and haven't made it to Mac/PC to try a fresh build there. I image this typo would break all builds though since it's a c/c++ syntax thing.