Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => CodeCompletion redesign => Topic started by: billyonthemountain on May 31, 2010, 08:08:06 pm

Title: Build fails due to missing header
Post by: billyonthemountain 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 (http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=3003&group_id=5358)...

regards,

Billy

[attachment deleted by admin]
Title: Re: Build fails due to missing header
Post by: MortenMacFly on May 31, 2010, 08:29:34 pm
patch is attached and has also been posted on the patch tracker (http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=3003&group_id=5358)...
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.
Title: Re: Build fails due to missing header
Post by: billyonthemountain 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)...  :)
Title: Re: Build fails due to missing header
Post by: MortenMacFly 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.