News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

blockallocated compile error

Started by rickg22, December 14, 2005, 02:34:41 AM

Previous topic - Next topic

rickg22

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?

thomas

Hmm... this should actually work with 3.4.2. But this did compile fine for me 10 mins ago...? Let me check again.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

thomas

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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

rickg22