Author Topic: Build fails due to missing header  (Read 10860 times)

Offline billyonthemountain

  • Multiple posting newcomer
  • *
  • Posts: 40
Build fails due to missing header
« on: May 31, 2010, 08:08:06 pm »
Building CC-branch rev. 6298 on x86_64-linux fails here : (wx 2.8.10)

Code
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib64/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/include -I../../../src/sdk/wxscintilla/include -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -O2 -pipe -march=core2 -floop-interchange -floop-strip-mine -floop-block -fno-strict-aliasing -fPIC -DPIC -fexceptions -c parser/parser.cpp  -fPIC -DPIC -o .libs/parser.o
parser/parser.cpp: In member function 'void Parser::SetProject(cbProject*)':
parser/parser.cpp:282: error: invalid use of incomplete type 'struct cbProject'
../../../src/include/sdk_events.h:13: error: forward declaration of 'struct cbProject'
make[4]: *** [parser.lo] Erreur 1
make[4]: *** Attente des tâches non terminées....
make[4]: quittant le répertoire « /var/tmp/portage/dev-util/codeblocks-9999-r24/work/codeblocks-9999/src/plugins/codecompletion »
patch is attached and has also been posted on the patch tracker...

regards,

Billy

[attachment deleted by admin]
« Last Edit: May 31, 2010, 08:14:02 pm by billyonthemountain »
(ASM, C/C++)||(VISION&AI)||(EMBEDDED SYSTEMS)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: Build fails due to missing header
« Reply #1 on: May 31, 2010, 08:29:34 pm »
patch is attached and has also been posted on the patch tracker...
Please do not post patches for branches to the patch tracker. The patch tracker is for trunk only. It's enough if you add patches here and probably inform the person mainly responsible for the branch.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline billyonthemountain

  • Multiple posting newcomer
  • *
  • Posts: 40
Re: Build fails due to missing header
« Reply #2 on: May 31, 2010, 08:42:41 pm »
Please do not post patches for branches to the patch tracker. The patch tracker is for trunk only. It's enough if you add patches here and probably inform the person mainly responsible for the branch.

Oh ok my bad, didn't know about that rule (which is probably discussed/written somewhere)...  :)
(ASM, C/C++)||(VISION&AI)||(EMBEDDED SYSTEMS)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: Build fails due to missing header
« Reply #3 on: May 31, 2010, 08:46:56 pm »
Oh ok my bad, didn't know about that rule (which is probably discussed/written somewhere)...  :)
It's not written somewhere, but a general rule: The nature of branches is for temporary development, so a branch might get closed / switched / deleted. Thus it's not safe to leave patches for these in the patch tracker.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ