Bug #12805 2007-12-29 00:13

smurfdaddy

PCH error?

i use wxGTK 2.8.7 unicode shared on Ubuntu Feisty.

while building rev 4750 with PCH disabled i got : 

make[4]: Leaving directory `/media/sda9/workspace/codeblocks-svn/ubuntu/trunk/src/plugins/compilergcc/resources'
make[4]: Entering directory `/media/sda9/workspace/codeblocks-svn/ubuntu/trunk/src/plugins/compilergcc'
/bin/bash ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/opt/wx/build-gtk2-2.8.7/lib/wx/include/gtk2-unicode-release-2.8 -I/opt/wx/build-gtk2-2.8.7/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../../src/include -I../../../src/include/wxscintilla/include -I../../../src/include/scripting/include -I../../../src/include/scripting/sqplus -I../../../src/plugins/compilergcc/depslib/src  -Ulinux -Uunix -DDEPSLIB_UNIX -O2 -ffast-math -g -O2  -fPIC -DPIC -fexceptions -MT advancedcompileroptionsdlg.lo -MD -MP -MF .deps/advancedcompileroptionsdlg.Tpo -c -o advancedcompileroptionsdlg.lo advancedcompileroptionsdlg.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/opt/wx/build-gtk2-2.8.7/lib/wx/include/gtk2-unicode-release-2.8 -I/opt/wx/build-gtk2-2.8.7/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../../src/include -I../../../src/include/wxscintilla/include -I../../../src/include/scripting/include -I../../../src/include/scripting/sqplus -I../../../src/plugins/compilergcc/depslib/src -Ulinux -Uunix -DDEPSLIB_UNIX -O2 -ffast-math -g -O2 -fPIC -DPIC -fexceptions -MT advancedcompileroptionsdlg.lo -MD -MP -MF .deps/advancedcompileroptionsdlg.Tpo -c advancedcompileroptionsdlg.cpp  -fPIC -DPIC -o .libs/advancedcompileroptionsdlg.o
advancedcompileroptionsdlg.cpp: In member function 'void AdvancedCompilerOptionsDlg::ReadCompilerOptions()':
advancedcompileroptionsdlg.cpp:78: error: 'wxChoice' was not declared in this scope
advancedcompileroptionsdlg.cpp:78: error: 'lst' was not declared in this scope
advancedcompileroptionsdlg.cpp:78: error: expected type-specifier before 'wxChoice'
advancedcompileroptionsdlg.cpp:78: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:78: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:78: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:78: error: ISO C++ forbids declaration of 'type name' with no type
advancedcompileroptionsdlg.cpp:78: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:78: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:78: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:78: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:78: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp: In member function 'void AdvancedCompilerOptionsDlg::ReadExtensions(int)':
advancedcompileroptionsdlg.cpp:149: error: 'wxChoice' was not declared in this scope
advancedcompileroptionsdlg.cpp:149: error: 'cmb' was not declared in this scope
advancedcompileroptionsdlg.cpp:149: error: expected type-specifier before 'wxChoice'
advancedcompileroptionsdlg.cpp:149: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:149: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:149: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:149: error: ISO C++ forbids declaration of 'type name' with no type
advancedcompileroptionsdlg.cpp:149: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:149: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:149: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:149: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:149: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp: In member function 'CompilerTool* AdvancedCompilerOptionsDlg::GetCompilerTool(int, int)':
advancedcompileroptionsdlg.cpp:160: error: 'wxChoice' was not declared in this scope
advancedcompileroptionsdlg.cpp:160: error: 'cmb' was not declared in this scope
advancedcompileroptionsdlg.cpp:160: error: expected type-specifier before 'wxChoice'
advancedcompileroptionsdlg.cpp:160: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:160: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:160: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:160: error: ISO C++ forbids declaration of 'type name' with no type
advancedcompileroptionsdlg.cpp:160: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:160: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:160: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:160: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:160: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp: In member function 'void AdvancedCompilerOptionsDlg::OnCommandsChange(wxCommandEvent&)':
advancedcompileroptionsdlg.cpp:283: error: expected type-specifier before 'wxChoice'
advancedcompileroptionsdlg.cpp:283: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:283: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:283: error: 'wxChoice' was not declared in this scope
advancedcompileroptionsdlg.cpp:283: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:283: error: ISO C++ forbids declaration of 'type name' with no type
advancedcompileroptionsdlg.cpp:283: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:283: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:283: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:283: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:283: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:284: error: expected type-specifier before 'wxChoice'
advancedcompileroptionsdlg.cpp:284: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:284: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:284: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:284: error: ISO C++ forbids declaration of 'type name' with no type
advancedcompileroptionsdlg.cpp:284: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:284: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:284: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:284: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:284: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp: In member function 'void AdvancedCompilerOptionsDlg::OnExtChange(wxCommandEvent&)':
advancedcompileroptionsdlg.cpp:292: error: expected type-specifier before 'wxChoice'
advancedcompileroptionsdlg.cpp:292: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:292: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:292: error: 'wxChoice' was not declared in this scope
advancedcompileroptionsdlg.cpp:292: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:292: error: ISO C++ forbids declaration of 'type name' with no type
advancedcompileroptionsdlg.cpp:292: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:292: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:292: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:292: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:292: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:293: error: expected type-specifier before 'wxChoice'
advancedcompileroptionsdlg.cpp:293: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:293: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:293: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:293: error: ISO C++ forbids declaration of 'type name' with no type
advancedcompileroptionsdlg.cpp:293: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:293: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:293: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:293: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:293: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp: In member function 'void AdvancedCompilerOptionsDlg::OnAddExt(wxCommandEvent&)':
advancedcompileroptionsdlg.cpp:305: error: expected type-specifier before 'wxChoice'
advancedcompileroptionsdlg.cpp:305: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:305: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:305: error: 'wxChoice' was not declared in this scope
advancedcompileroptionsdlg.cpp:305: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:305: error: ISO C++ forbids declaration of 'type name' with no type
advancedcompileroptionsdlg.cpp:305: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:305: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:305: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:305: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:305: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:310: error: 'cmb' was not declared in this scope
advancedcompileroptionsdlg.cpp:310: error: expected type-specifier before 'wxChoice'
advancedcompileroptionsdlg.cpp:310: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:310: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:310: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:310: error: ISO C++ forbids declaration of 'type name' with no type
advancedcompileroptionsdlg.cpp:310: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:310: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:310: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:310: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:310: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp: In member function 'void AdvancedCompilerOptionsDlg::OnDelExt(wxCommandEvent&)':
advancedcompileroptionsdlg.cpp:320: error: expected type-specifier before 'wxChoice'
advancedcompileroptionsdlg.cpp:320: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:320: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:320: error: 'wxChoice' was not declared in this scope
advancedcompileroptionsdlg.cpp:320: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:320: error: ISO C++ forbids declaration of 'type name' with no type
advancedcompileroptionsdlg.cpp:320: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:320: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:320: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:320: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:320: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:321: error: 'cmb' was not declared in this scope
advancedcompileroptionsdlg.cpp:321: error: expected type-specifier before 'wxChoice'
advancedcompileroptionsdlg.cpp:321: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:321: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:321: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:321: error: ISO C++ forbids declaration of 'type name' with no type
advancedcompileroptionsdlg.cpp:321: error: expected `>' before 'wxChoice'
advancedcompileroptionsdlg.cpp:321: error: expected `(' before 'wxChoice'
advancedcompileroptionsdlg.cpp:321: error: expected primary-expression before '>' token
advancedcompileroptionsdlg.cpp:321: error: expected `)' before ';' token
advancedcompileroptionsdlg.cpp:321: error: expected `)' before ';' token
make[4]: *** [advancedcompileroptionsdlg.lo] Error 1
make[4]: Leaving directory `/media/sda9/workspace/codeblocks-svn/ubuntu/trunk/src/plugins/compilergcc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/media/sda9/workspace/codeblocks-svn/ubuntu/trunk/src/plugins/compilergcc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/media/sda9/workspace/codeblocks-svn/ubuntu/trunk/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/sda9/workspace/codeblocks-svn/ubuntu/trunk/src'
make: *** [all-recursive] Error 1
Category
Compiler
Group
 
Status
Closed
Close date
2008-01-26 01:50
Assigned to
 
biplab 2008-01-20 04:49

Does this bug still persist?

smurfdaddy 2008-01-20 20:17

I managed to make a full rebuild (of the latest revision) and didn't got this bug again.

was it solved?

biplab 2008-01-26 01:50

This bug has been fixed sometimes back. Thanks for reporting it.