Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Linux - Compilation error...
polygon7:
Another error in version 1749:
--- Quote ---In file included from editorconfigurationdlg.h:6,
from editorconfigurationdlg.cpp:39:
editormanager.h:40: error: syntax error before `<' token
editormanager.h:44: error: syntax error before `public'
editormanager.h: In function `wxFlatNotebook* GetNotebook()':
editormanager.h:47: error: `m_pNotebook' undeclared (first use this function)
editormanager.h:47: error: (Each undeclared identifier is reported only once
for each function it appears in.)
editormanager.h: In function `AutoCompleteMap& GetAutoCompleteMap()':
editormanager.h:52: error: `m_AutoCompleteMap' undeclared (first use this
function)
editormanager.h: In function `EditorColorSet* GetColorSet()':
editormanager.h:72: error: invalid use of `this' in non-member function
editormanager.h:72: error: `m_Theme' undeclared (first use this function)
editormanager.h: At global scope:
editormanager.h:126: error: invalid use of undefined type `class EditorManager'
editormanager.h:40: error: forward declaration of `class EditorManager'
editormanager.h:150: error: syntax error before `protected'
editormanager.h:169: error: `AutoCompleteMap m_AutoCompleteMap' used prior to
declaration
editormanager.h:170: error: syntax error before `private'
editormanager.h:172: error: destructors must be member functions
editormanager.h:176: error: `wxFlatNotebook*m_pNotebook' used prior to
declaration
editormanager.h:178: error: `EditorColorSet*m_Theme' used prior to declaration
editormanager.h:186: error: `friend' can only be specified inside a class
editormanager.h:189: error: syntax error before `private'
editormanager.h:189: error: virtual outside class declaration
editormanager.h:189: error: non-member function `const wxEventTable*
GetEventTable()' cannot have `const' method qualifier
editormanager.h:189: error: no matching function for call to `wxEventHashTable
::wxEventHashTable()'
/usr/include/wx-2.6/wx/event.h:2298: error: candidates are:
wxEventHashTable::wxEventHashTable(const wxEventHashTable&)
/usr/include/wx-2.6/wx/event.h:2262: error:
wxEventHashTable::wxEventHashTable(const wxEventTable&)
editormanager.h:189: error: virtual outside class declaration
editormanager.h:189: error: non-member function `wxEventHashTable&
GetEventHashTable()' cannot have `const' method qualifier
editormanager.h:190: error: syntax error before `protected'
editormanager.h: In function `bool sanity_check_advanced()':
editormanager.h:190: error: invalid use of `this' in non-member function
editormanager.h:190: error: invalid use of `this' in non-member function
editormanager.h:190: error: `m_sanitycheck_self' undeclared (first use this
function)
editormanager.h: At global scope:
editormanager.h:190: error: `void*m_sanitycheck_self' used prior to declaration
editormanager.h:192: error: syntax error before `}' token
In file included from editorconfigurationdlg.cpp:41:
manager.h:72: error: syntax error before `*' token
editorconfigurationdlg.cpp: In constructor `
EditorConfigurationDlg::EditorConfigurationDlg(wxWindow*)':
editorconfigurationdlg.cpp:132: error: `GetEditorManager' undeclared (first use
this function)
editorconfigurationdlg.cpp:475:10: warning: #warning "wxComboBox::SetString() doesn't work under non-win32 platforms"
editorconfigurationdlg.cpp: In member function `void
EditorConfigurationDlg::OnOK(wxCommandEvent&)':
editorconfigurationdlg.cpp:697: error: `GetEditorManager' undeclared (first use
this function)
make[4]: *** [editorconfigurationdlg.lo] Błąd 1
make[4]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[3]: *** [all-recursive] Błąd 1
make[3]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[2]: *** [all] Błąd 2
make[2]: Leaving directory `/home/lukasz/progz/trunk/src/sdk'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/home/lukasz/progz/trunk/src'
make: *** [all-recursive] Błąd 1
--- End quote ---
polygon7:
Version 1750 still has the same error as version 1749.
polygon7:
Version 1751. The same error.
Developers do you read this thread? :(
mandrav:
--- Quote from: polygon7 on January 13, 2006, 10:32:50 pm ---Version 1751. The same error.
Developers do you read this thread? :(
--- End quote ---
What is this? Are you gonna post one message per-commit?
Anyway, the project builds fine for me in windows and in linux (both with PCH on and off). Try a fresh checkout.
polygon7:
--- Quote from: mandrav on January 13, 2006, 10:50:10 pm ---What is this? Are you gonna post one message per-commit?
--- End quote ---
Please delete it if you dont need it.
--- Quote from: mandrav on January 13, 2006, 10:50:10 pm ---Anyway, the project builds fine for me in windows and in linux (both with PCH on and off). Try a fresh checkout.
--- End quote ---
Do you think i didnt tried fresh chcek out before reporting this bug?
Btw. I use gcc 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8 ), GNU Make 3.80, wxGTK 2.6.2-r1 maybe this helps a little with hunting this bug.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version