Doesn't build using gcc 4.7

Svenstaro

29-03-2012 18:02:27

Using gcc 4.7, one gets these: http://pastebin.com/g8zmSVYs

The problems occurs in both, svn and release 3.2.0. This is on Arch Linux x86_64. Gcc 4.6.0 compiles this fine. Might have been one of these: http://gcc.gnu.org/gcc-4.7/porting_to.html

Altren

02-04-2012 10:09:24

Could you try to change MyGUIEngine/include/MyGUI_Singleton.h next way - replace
#if MYGUI_COMPILER == MYGUI_COMPILER_MSVC || MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
template <class T>
class Singleton
#else
template <class T>
class MYGUI_EXPORT Singleton
#endif
with
template <class T>
class Singleton
and try to compile everything.

Svenstaro

03-04-2012 02:12:21

No change.

Svenstaro

13-04-2012 18:03:09

This is still a problem and especially no one on Arch Linux can use mygui right now. Please look into it.

Svenstaro

14-04-2012 17:53:41

Since I didn't get an answer I fixed it by disabling visibility options for now. It is improper by I don't care since I need a working mygui package in Arch Linux.