Author Topic: revision 6113 error: expected type-specifier before  (Read 9597 times)

reandr

  • Guest
revision 6113 error: expected type-specifier before
« on: January 25, 2010, 05:25:18 pm »
i report this compile error to bug tracker ( http://developer.berlios.de/bugs/?func=detailbug&bug_id=16716&group_id=5358.)
but nobody  care for that bug tracker.
so i have to repeat to report .

$ svn info

Path: .
URL: svn://svn.berlios.de/codeblocks/trunk
Repository Root: svn://svn.berlios.de/codeblocks
Repository UUID: 98b59c6a-2706-0410-b7d6-d2fa1a1880c9
Revision: 6113
Node Kind: directory
Schedule: normal
Last Changed Author: jenslody
Last Changed Rev: 6113
Last Changed Date: 2010-01-25 01:03:22 +0900 (Mon, 25 Jan 2010)

make[3]: Entering directory `/media/sdc1/codeblock/src/src'
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/sdk/wxscintilla/include -I../../src/include -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include\mozilla_chardet -DENABLE_BINRELOC -DAPP_PREFIX="\"/usr\"" -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT app.o -MD -MP -MF .deps/app.Tpo -c -o app.o app.cpp
app.cpp: In member function ‘virtual bool CodeBlocksApp::OnInit()’:
app.cpp:501: error: expected type-specifier before ‘wxScrollingDialogXmlHandler’
app.cpp:501: error: expected `)' before ‘wxScrollingDialogXmlHandler’
app.cpp:501: error: no matching function for call to ‘wxXmlResource::InsertHandler(int*)’
/usr/include/wx-2.8/wx/xrc/xmlres.h:151: note: candidates are: void wxXmlResource::InsertHandler(wxXmlResourceHandler*)
make[3]: *** [app.o] error 1

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: revision 6113 error: expected type-specifier before
« Reply #1 on: January 25, 2010, 05:40:07 pm »
i report this compile error to bug tracker ( http://developer.berlios.de/bugs/?func=detailbug&bug_id=16716&group_id=5358.)
but nobody  care for that bug tracker.

You reported it about 40 minutes ago according to the timestamp in the bugtracker !!

So what do you expect ??

And your bugreport and your post misses some necessary information, to be able to reproduce.
What compiler version do you use, what (minor-)version of wxwidgets ?
Which OS?

I guess it's linux and it's wxWidgets 2.8.?.

I compiled it myself and had no such errors (debian 64- and 32-bit, vista and xp 32-bit) all with wxwidgets 2.8.10 and gcc 4.3 or gcc 4.4.

Here are the appropriate lines of my build-log:
Quote from: debian 64-bit
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/sdk/wxscintilla/include -I../../src/include -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include\mozilla_chardet -DENABLE_BINRELOC -DAPP_PREFIX="\"/usr\"" -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT app.o -MD -MP -MF .deps/app.Tpo -c -o app.o app.cpp

Quote from: debian 32-bit
i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/sdk/wxscintilla/include -I../../src/include -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include\mozilla_chardet -DENABLE_BINRELOC -DAPP_PREFIX="\"/usr\"" -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT app.o -MD -MP -MF .deps/app.Tpo -c -o app.o app.cpp

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: revision 6113 error: expected type-specifier before
« Reply #2 on: January 25, 2010, 05:43:51 pm »
You should run a make clean and probably manual delete the precompiled headers ( src/include/*.gch ) or do a fresh svn checkout.