Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: rickg22 on December 14, 2005, 02:34:41 am

Title: blockallocated compile error
Post by: rickg22 on December 14, 2005, 02:34:41 am
Quote
Compiling: sdk\cbeditor.cpp
sdk/blockallocated.h: In destructor `virtual CodeBlocksEvent::~CodeBlocksEvent()':
sdk/blockallocated.h:149: sorry, unimplemented: inlining failed in call to 'static void BlockAllocated<T, pool_size>::operator delete(void*) [with T = CodeBlocksEvent, unsigned int pool_size = 75u]': function body not available
sdk\cbeditor.cpp:357: sorry, unimplemented: called from here
Process terminated with status 1 (0 minutes, 33 seconds)
2 errors, 20 warnings

I'm using GCC 3.4.2, should I update?
Title: Re: blockallocated compile error
Post by: thomas on December 14, 2005, 02:42:41 am
Hmm... this should actually work with 3.4.2. But this did compile fine for me 10 mins ago...? Let me check again.
Title: Re: blockallocated compile error
Post by: thomas on December 14, 2005, 02:57:28 am
Interesting, it failed for me now too, although it compiled fine before committing, and not only in that file, but in another, too.

I took out all offending statements. Update please, it should work again now (did two clean rebuilds).

Will look into it again after sleeping 4 hours, apparently some functions need extra care.
Title: Re: blockallocated compile error
Post by: rickg22 on December 14, 2005, 03:15:29 am
:D it works now! :)