aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Troublme compiling on Mandriva Spring for CVS as of 20070618  (Read 2464 times)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385

Quote
In file included from Preferences.cpp:1648:
ClientList.h:343:3: warning: #warning ALSO FIX THIS, NOW!!!
/usr/include/wx-2.8/wx/hashmap.h: In member function ‘wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const’:
/usr/include/wx-2.8/wx/hashmap.h:714: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.8/wx/clntdata.h: In member function ‘wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.8/wx/clntdata.h:20: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.8/wx/clntdata.h: In member function ‘wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.8/wx/protocol/http.h: In member function ‘wxStringToStringHashMap_wxImplementation_HashTable::Node** wxStringToStringHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.8/wx/protocol/http.h:21: warning: dereferencing type-punned pointer will break strict-aliasing rules
Preferences.cpp: In static member function ‘static void CPreferences::BuildItemList(const wxString&)’:
Preferences.cpp:1035: error: expected type-specifier before ‘Cfg_Skin’
Preferences.cpp:1035: error: expected `)' before ‘Cfg_Skin’
Preferences.cpp:1035: error: cannot convert ‘int*’ to ‘Cfg_Base*’ in assignment
Preferences.cpp:1065: error: expected type-specifier before ‘Cfg_Skin’
Preferences.cpp:1065: error: expected `)' before ‘Cfg_Skin’
Preferences.cpp:1065: error: cannot convert ‘int*’ to ‘Cfg_Base*’ in assignment
ClientList.h: At global scope:
ClientList.h:344: warning: unused parameter ‘ip’
make[3]: *** [amuled-Preferences.o] Erreur 1

gcc --version
gcc (GCC) 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)

wx-config --version
2.8.4
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Troublme compiling on Mandriva Spring for CVS as of 20070618
« Reply #1 on: June 18, 2007, 04:25:17 PM »

Whatever is the cause, it is my fault and I'll try to fix it asap.

Edit: Will be fixed tomorrow.
« Last Edit: June 18, 2007, 05:27:17 PM by wuischke »
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Troublme compiling on Mandriva Spring for CVS as of 20070618
« Reply #2 on: June 18, 2007, 07:17:02 PM »

Thanks for the fast answer. I can wait  ;)
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)