sillysloft / fluxbox

Fluxbox Window Manager (Mirror)
http://fluxbox.org/news/
Other
0 stars 1 forks source link

fluxbox does not compile on gcc 4.1.0 #555

Open sillysloft opened 18 years ago

sillysloft commented 18 years ago

[11:02 AM][awjb@alioth ~]$ gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux Thread model: posix gcc version 4.1.0 20060106 (Red Hat 4.1.0-0.14)

Here is where the build fails:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./FbTk -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -I/usr/include -DSHAPE -I/usr/include/freetype2 -MT ScreenResources.o -MD -MP -MF ".deps/ScreenResources.Tpo" -c -o ScreenResources.o ScreenResources.cc; \ then mv -f ".deps/ScreenResources.Tpo" ".deps/ScreenResources.Po"; else rm -f ".deps/ScreenResources.Tpo"; exit 1; fi FbTk/FbWindow.hh:251: warning: 'class FbTk::FbWindowRenderer' has virtual functions but non-virtual destructor FbTk/FbWindow.hh:251: warning: 'class FbTk::FbWindowRenderer' has virtual functions but non-virtual destructor FbTk/SignalHandler.hh:33: warning: 'class FbTk::SignalEventHandler' has virtual functions but non-virtual destructor ScreenResources.cc:33: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::PlacementPolicy]' in different namespace ScreenResources.cc:33: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::PlacementPolicy]' ScreenResources.cc:47: error: template-id 'getString<>' for 'std::string FbTk::Resource<BScreen::PlacementPolicy>::getString() const' does not match any template declaration ScreenResources.cc:47: error: invalid function declaration ScreenResources.cc:63: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::RowDirection]' in different namespace ScreenResources.cc:63: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::RowDirection]' ScreenResources.cc:74: error: template-id 'getString<>' for 'std::string FbTk::Resource<BScreen::RowDirection>::getString() const' does not match any template declaration ScreenResources.cc:74: error: invalid function declaration ScreenResources.cc:87: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::ColumnDirection]' in different namespace ScreenResources.cc:87: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::ColumnDirection]' ScreenResources.cc:98: error: template-id 'getString<>' for 'std::string FbTk::Resource<BScreen::ColumnDirection>::getString() const' does not match any template declaration ScreenResources.cc:98: error: invalid function declaration ScreenResources.cc:110: error: template-id 'getString<>' for 'std::string FbTk::Resource<FbTk::MenuTheme::MenuMode>::getString() const' does not match any template declaration ScreenResources.cc:110: error: invalid function declaration ScreenResources.cc:121: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::MenuTheme::MenuMode]' in different namespace ScreenResources.cc:121: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::MenuTheme::MenuMode]' ScreenResources.cc:131: error: template-id 'getString<>' for 'std::string FbTk::Resource<BScreen::ResizeModel>::getString() const' does not match any template declaration ScreenResources.cc:131: error: invalid function declaration ScreenResources.cc:144: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::ResizeModel]' in different namespace ScreenResources.cc:144: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::ResizeModel]' ScreenResources.cc:154: error: template-id 'getString<>' for 'std::string FbTk::Resource<BScreen::FocusModel>::getString() const' does not match any template declaration ScreenResources.cc:154: error: invalid function declaration ScreenResources.cc:167: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::FocusModel]' in different namespace ScreenResources.cc:167: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::FocusModel]' ScreenResources.cc:178: error: template-id 'getString<>' for 'std::string FbTk::Resource<BScreen::TabFocusModel>::getString() const' does not match any template declaration ScreenResources.cc:178: error: invalid function declaration ScreenResources.cc:191: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::TabFocusModel]' in different namespace ScreenResources.cc:191: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::TabFocusModel]' ScreenResources.cc:201: error: template-id 'getString<>' for 'std::string FbTk::Resource<BScreen::FollowModel>::getString() const' does not match any template declaration ScreenResources.cc:201: error: invalid function declaration ScreenResources.cc:216: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::FollowModel]' in different namespace ScreenResources.cc:216: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = BScreen::FollowModel]' ScreenResources.cc:228: error: template-id 'getString<>' for 'std::string FbTk::Resource<FbTk::GContext::LineStyle>::getString() const' does not match any template declaration ScreenResources.cc:228: error: invalid function declaration ScreenResources.cc:245: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::LineStyle]' in different namespace ScreenResources.cc:245: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::LineStyle]' ScreenResources.cc:258: error: template-id 'getString<>' for 'std::string FbTk::Resource<FbTk::GContext::JoinStyle>::getString() const' does not match any template declaration ScreenResources.cc:258: error: invalid function declaration ScreenResources.cc:275: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::JoinStyle]' in different namespace ScreenResources.cc:275: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::JoinStyle]' ScreenResources.cc:288: error: template-id 'getString<>' for 'std::string FbTk::Resource<FbTk::GContext::CapStyle>::getString() const' does not match any template declaration ScreenResources.cc:288: error: invalid function declaration ScreenResources.cc:308: error: specialization of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::CapStyle]' in different namespace ScreenResources.cc:308: error: from definition of 'void FbTk::Resource<T>::setFromString(const char*) [with T = FbTk::GContext::CapStyle]' LayerMenu.hh:33: warning: 'class LayerObject' has virtual functions but non-virtual destructor Screen.cc: In member function 'void BScreen::reconfigure()': Screen.cc:716: warning: comparison between signed and unsigned integer expressions Screen.cc:717: warning: comparison between signed and unsigned integer expressions Screen.cc:720: warning: comparison between signed and unsigned integer expressions Screen.cc:721: warning: comparison between signed and unsigned integer expressions Screen.cc: In member function 'bool BScreen::isKdeDockapp(Window) const': Screen.cc:1153: warning: dereferencing type-punned pointer will break strict-aliasing rules Screen.cc:1168: warning: dereferencing type-punned pointer will break strict-aliasing rules make[5]: *** [ScreenResources.o] Error 1 make[5]: *** Waiting for unfinished jobs....

Reported by: awjb

sillysloft commented 18 years ago

Logged In: YES user_id=1101187

and about which version of fbox do we talk right now?

Original comment by: akir

sillysloft commented 18 years ago

Original comment by: akir

sillysloft commented 18 years ago

Logged In: NO

0.9.14

Original comment by: nobody

sillysloft commented 18 years ago

Logged In: YES user_id=1101187

tried with svn-code already?

Original comment by: akir

sillysloft commented 18 years ago

Logged In: YES user_id=256521

Nope not yet... happened will rebuilding for fedora extras development... Will do asap.

Original comment by: awjb

sillysloft commented 18 years ago

Logged In: YES user_id=256521

With svn it is still the same till (and including line 308 errors)

Original comment by: awjb

sillysloft commented 18 years ago

Logged In: NO

Not compile on gcc 4.1 :( in different namespace whay?

Original comment by: nobody

sillysloft commented 18 years ago

Logged In: YES user_id=256521

Still the same with current svn...

Original comment by: awjb

sillysloft commented 18 years ago

Original comment by: akir

sillysloft commented 18 years ago

Logged In: YES user_id=1101187

should be fixed with svn 4227

Original comment by: akir