Re: Frage zu #pragma

"Sascha 'saigkill' Manns" <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization openSUSE Marketing Team
Message-ID <[email protected]>
Servus,

habe mir gerade noch mal einen Branch von wxGTK gezogen. Meine 
Ursprüngliche Fehlermeldung beim Bau von BOINC Factory war:
DlgAdvPreferences.cpp: In member function 'bool 
CDlgAdvPreferences::ValidateInput()':
DlgAdvPreferences.cpp:489: error: 'wxWindowListNode' was not declared in 
this scope
DlgAdvPreferences.cpp:489: error: 'node' was not declared in this scope
make[2]: *** [boinc_gui-DlgAdvPreferences.o] Error 1
make[2]: Leaving directory 
`/usr/src/packages/BUILD/boinc_core_release_6_4_5/clientgui'
make[1]: *** [all-recursive] Error 1

Während des lokalen bauens der wxGTK fielen mir folgende Zeilen ins 
Auge:

/../contrib/src/fl/garbagec.cpp: In member function 'void 
GarbageCollector::RemoveReferencesToNode(wxNode*)':                       
../../../../contrib/src/fl/garbagec.cpp:88: error: cannot convert 
'wxObjectList::compatibility_iterator' to 'wxNode*' in initialization     
../../../../contrib/src/fl/garbagec.cpp:93: error: cannot convert 
'wxObjectList::compatibility_iterator' to 'wxNode*' in initialization     
../../../../contrib/src/fl/garbagec.cpp:97: error: invalid use of 
incomplete type 'struct wxObjectListNode'                                 
../../../../include/wx/list.h:57: error: forward declaration of 'struct 
wxObjectListNode'                                                   
../../../../contrib/src/fl/garbagec.cpp:99: error: invalid use of 
incomplete type 'struct wxObjectListNode'                                 
../../../../include/wx/list.h:57: error: forward declaration of 'struct 
wxObjectListNode'                                                   
../../../../contrib/src/fl/garbagec.cpp:101: error: no matching function 
for call to 'wxList::DeleteNode(wxNode*&)'                         
../../../../include/wx/list.h:1178: note: candidates are: bool 
wxObjectList::DeleteNode(const wxObjectList::compatibility_iterator&)        
../../../../contrib/src/fl/garbagec.cpp:107: error: invalid use of 
incomplete type 'struct wxObjectListNode'                                
../../../../include/wx/list.h:57: error: forward declaration of 'struct 
wxObjectListNode'                                                   
../../../../contrib/src/fl/garbagec.cpp:110: error: invalid use of 
incomplete type 'struct wxObjectListNode'                                
../../../../include/wx/list.h:57: error: forward declaration of 'struct 
wxObjectListNode'                                                   
../../../../contrib/src/fl/garbagec.cpp: In member function 'void 
GarbageCollector::ResolveReferences()':                                   
../../../../contrib/src/fl/garbagec.cpp:116: error: cannot convert 
'wxObjectList::compatibility_iterator' to 'wxNode*' in initialization    
../../../../contrib/src/fl/garbagec.cpp:122: error: cannot convert 
'wxObjectList::compatibility_iterator' to 'wxNode*' in initialization    
../../../../contrib/src/fl/garbagec.cpp:126: error: invalid use of 
incomplete type 'struct wxObjectListNode'                                
../../../../include/wx/list.h:57: error: forward declaration of 'struct 
wxObjectListNode'                                                   
../../../../contrib/src/fl/garbagec.cpp:126: error: invalid use of 
incomplete type 'struct wxObjectListNode'                                
../../../../include/wx/list.h:57: error: forward declaration of 'struct 
wxObjectListNode'                                                   
../../../../contrib/src/fl/garbagec.cpp:128: error: invalid use of 
incomplete type 'struct wxObjectListNode'                                
../../../../include/wx/list.h:57: error: forward declaration of 'struct 
wxObjectListNode'                                                   
../../../../contrib/src/fl/garbagec.cpp:131: error: invalid use of 
incomplete type 'struct wxObjectListNode'                                
../../../../include/wx/list.h:57: error: forward declaration of 'struct 
wxObjectListNode'                                                   
../../../../contrib/src/fl/garbagec.cpp: In member function 'virtual 
void GarbageCollector::ArrangeCollection()':                           
../../../../contrib/src/fl/garbagec.cpp:168: error: invalid use of 
incomplete type 'struct wxObjectListNode'                                
../../../../include/wx/list.h:57: error: forward declaration of 'struct 
wxObjectListNode'                                                   
../../../../contrib/src/fl/garbagec.cpp:170: error: no matching function 
for call to 'wxList::DeleteNode(wxNode*&)'                         
../../../../include/wx/list.h:1178: note: candidates are: bool 
wxObjectList::DeleteNode(const wxObjectList::compatibility_iterator&)        
../../../../contrib/src/fl/garbagec.cpp:182: error: cannot convert 
'wxObjectList::compatibility_iterator' to 'wxNode*' in initialization    
../../../../contrib/src/fl/garbagec.cpp:186: error: invalid use of 
incomplete type 'struct wxObjectListNode'                                
../../../../include/wx/list.h:57: error: forward declaration of 'struct 
wxObjectListNode'                                                   
../../../../contrib/src/fl/garbagec.cpp:188: error: invalid use of 
incomplete type 'struct wxObjectListNode'                                
../../../../include/wx/list.h:57: error: forward declaration of 'struct 
wxObjectListNode'                                                   
make[2]: *** [fldll_garbagec.o] Error 1                                                                                                     

Könnte das zusammenhängen?
-- 
Sincereley yours

Sascha Manns
openSUSE Marketing Team (Weekly News)
openSUSE Build Service
Web: http://saschamanns.gulli.to
Blog: http://lizards.opensuse.org/author/saigkill
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.