Author Topic: blockallocated compile error  (Read 5462 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
blockallocated compile error
« 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?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: blockallocated compile error
« Reply #1 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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: blockallocated compile error
« Reply #2 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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: blockallocated compile error
« Reply #3 on: December 14, 2005, 03:15:29 am »
:D it works now! :)