Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fourspriter error with -O 2 option
#5
boriel Wrote:
wilco2009 Wrote:It is logical.

Fourspriter has some routines just to contain assembler code or data. These routines never have been called from basic but yes from assembler code.

Compiler optimization process removes mentioned routines, but then them can't be called from assembler.

Perhaps Boriel can detect these kind of situation in compiling time to solve it
These is very hard to fix (almost impossible). The 1st workaround is to place a dummy call somewhere. But the usual one is to use a #pragma directive to tell the compiler not to remove such code.
I'm searching in the wiki the pagma directive to avoid remove a certain part of code, but I can't find the documentation for pragma directive.
Could you help me on that?.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)