编译失败??我是ubuntu 6 desk

lulu
2006-12-21
2013-05-28
  • lulu
    lulu
    2006-12-21

    g++ -D _LARGEFILE64_SOURCE -D FILE_OFFSET_BITS=64 -O2 -D NDEBUG  -s -Wall  `wx-config --cxxflags` -c threadinfowindow.cpp -o threadinfowindow.o
    /usr/local/include/wx-2.8/wx/hashmap.h: In member function ‘wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const’:
    /usr/local/include/wx-2.8/wx/hashmap.h:714: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/local/include/wx-2.8/wx/clntdata.h: In member function ‘wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
    /usr/local/include/wx-2.8/wx/clntdata.h:20: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/local/include/wx-2.8/wx/clntdata.h: In member function ‘wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
    /usr/local/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/local/include/wx-2.8/wx/gdicmn.h: In member function ‘wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
    /usr/local/include/wx-2.8/wx/gdicmn.h:540: warning: dereferencing type-punned pointer will break strict-aliasing rules
    /usr/local/include/wx-2.8/wx/image.h: In member function ‘wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const’:
    /usr/local/include/wx-2.8/wx/image.h:136: warning: dereferencing type-punned pointer will break strict-aliasing rules
    threadinfowindow.cpp: In constructor ‘CThreadInfoWindow::CThreadInfoWindow(wxWindow*)’:
    threadinfowindow.cpp:54: error: invalid use of undefined type ‘struct wxImageList’
    /usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of ‘struct wxImageList’
    threadinfowindow.cpp:55: error: invalid use of undefined type ‘struct wxImageList’
    /usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of ‘struct wxImageList’
    threadinfowindow.cpp:56: error: invalid use of undefined type ‘struct wxImageList’
    /usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of ‘struct wxImageList’
    threadinfowindow.cpp:57: error: invalid use of undefined type ‘struct wxImageList’
    /usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of ‘struct wxImageList’
    threadinfowindow.cpp:58: error: invalid use of undefined type ‘struct wxImageList’
    /usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of ‘struct wxImageList’
    threadinfowindow.cpp:59: error: invalid use of undefined type ‘struct wxImageList’
    /usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of ‘struct wxImageList’
    threadinfowindow.cpp:60: error: invalid use of undefined type ‘struct wxImageList’
    /usr/local/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration of ‘struct wxImageList’
    threadinfowindow.cpp:62: error: ‘wxIMAGE_LIST_SMALL’ was not declared in this scope
    threadinfowindow.cpp: In member function ‘void CThreadInfoWindow::AddInfo(_MSGTYPE, wxString, int)’:
    threadinfowindow.cpp:115: warning: dereferencing type-punned pointer will break strict-aliasing rules
    threadinfowindow.cpp: In member function ‘void CThreadInfoWindow::AddInfo(_MSGTYPE, std::string, int)’:
    threadinfowindow.cpp:171: warning: dereferencing type-punned pointer will break strict-aliasing rules
    make: *** [threadinfowindow.o] 错误 1

     
    • 永不停机
      永不停机
      2006-12-24

      不如看看主页帮助。