
#CODEBLOCKS COMPILER ERROR ISO#
Include/MyGUI_Widget.h:145: error: ISO C++ forbids declaration of `UTFString' with no type Include/MyGUI_Widget.h:143: error: ISO C++ forbids declaration of `parameter' with no type Include/MyGUI_Widget.h:143: error: expected `,' or `.' before '&' token Include/MyGUI_Widget.h:143: error: expected unqualified-id before '&' token Build: Windows_Release in MyGUIEngine -įrom G:\OgrePlug\MyGUI\trunk\MyGUIEngine\src\MyGUI_ActionController.cpp:8: Mhmm I think that I have correctly paths. Include/MyGUI_Widget.h:136: error: expected ` ' before '&' token Include/MyGUI_Widget.h:136: error: `UTFString' declared as a `virtual' field Include/MyGUI_Widget.h:136: error: invalid use of `::' Include/MyGUI_Widget.h:136: error: ISO C++ forbids declaration of `UTFString' with no type Include/MyGUI_Widget.h:134: error: ISO C++ forbids declaration of `parameter' with no type Include/MyGUI_Widget.h:134: error: expected `,' or `.' before '&' token Include/MyGUI_Widget.h:134: error: expected unqualified-id before '&' token In file included from include/MyGUI_CastWidget.h:11, Include/MyGUI_ISubWidgetText.h:78: error: expected ` ' before "virtual" Include/MyGUI_ISubWidgetText.h:76: error: expected ` ' before '&' token Include/MyGUI_ISubWidgetText.h:76: error: `UTFString' declared as a `virtual' field Include/MyGUI_ISubWidgetText.h:76: error: invalid use of `::' Include/MyGUI_ISubWidgetText.h:76: error: ISO C++ forbids declaration of `UTFString' with no type Include/MyGUI_ISubWidgetText.h:75: error: ISO C++ forbids declaration of `parameter' with no type Include/MyGUI_ISubWidgetText.h:75: error: expected `,' or `.' before '&' token Include/MyGUI_ISubWidgetText.h:75: error: expected unqualified-id before '&' token Include/MyGUI_ISubWidgetText.h: At global scope: In file included from include/MyGUI_Widget.h:15, Include/MyGUI_XmlDocument.h:297: error: `UTFString' is not a member of `Ogre' Include/MyGUI_XmlDocument.h: In member function `void MyGUI::xml::Document::setLastFileError(const std::wstring&)': Include/MyGUI_XmlDocument.h:279: warning: unused variable '_filename' Include/MyGUI_XmlDocument.h:279: error: `_filename' was not declared in this scope Include/MyGUI_XmlDocument.h: In member function `bool MyGUI::xml::Document::open(int)': Include/MyGUI_XmlDocument.h:274: warning: unused variable '_filename'

Include/MyGUI_XmlDocument.h:274: error: `_filename' was not declared in this scope Include/MyGUI_XmlDocument.h: In member function `bool MyGUI::xml::Document::save(int)': Include/MyGUI_XmlDocument.h:278: error: ISO C++ forbids declaration of `parameter' with no type Include/MyGUI_XmlDocument.h:277: error: expected `,' or `.' before '&' token Include/MyGUI_XmlDocument.h:277: error: expected unqualified-id before '&' token

Include/MyGUI_XmlDocument.h:273: error: ISO C++ forbids declaration of `parameter' with no type Include/MyGUI_XmlDocument.h:272: error: expected `,' or `.' before '&' token Include/MyGUI_XmlDocument.h:272: error: expected unqualified-id before '&' token Include/MyGUI_XmlDocument.h: At global scope: In file included from include/MyGUI_IResource.h:12, In file included from E:/OgreSDK/include/OgreMemoryAllocatorConfig.h:189,įrom E:/OgreSDK/include/OgrePrerequisites.h:409,įrom E:\dependances\mygui\trunk\MyGUIEngine\src\MyGUI_ActionController.cpp:8:Į:/OgreSDK/include/OgreMemoryStdAlloc.h: In static member function `static void* Ogre::StdAlignedAllocPolicy::allocateBytes(size_t, const char*, int, const char*)':Į:/OgreSDK/include/OgreMemoryStdAlloc.h:116: warning: statement has no effect Here comes the compilation log from code::blocksĬompiling: src\MyGUI_ActionController.cpp I got pretty much de same errors with the SVN version In BuildOptions > Search Directories i added those lines: Virtual void setCaption(const Ogre::UTFString & _caption) Īnd at line 139: virtual const Ogre::UTFString & getCaption() ||= Build finished: 7 errors, 0 warnings =| Include\MyGUI_Widget.h|139|error: expected ` ' before '&' token| Include\MyGUI_Widget.h|139|error: `UTFString' declared as a `virtual' field|

Include\MyGUI_Widget.h|139|error: invalid use of `::'| Include\MyGUI_Widget.h|139|error: ISO C++ forbids declaration of `UTFString' with no type|

Include\MyGUI_Widget.h|137|error: ISO C++ forbids declaration of `parameter' with no type| Include\MyGUI_Widget.h|137|error: expected `,' or `.' before '&' token| Include\MyGUI_Widget.h|137|error: expected unqualified-id before '&' token| I'm willing to try MyGUI into my project, but i get some errors when i try to compile it with Code::Blocks (8.02):
