Hello there~
I have some problem with using __attribute__((optimize("O0")))
I wanna run some code with gcc compiler and I don't wanna optimize code
particulary, so i'm trying to use attribute.
I'm using angstrom linux and gcc version is 4.3.3.
I already knew that i can't use #pragma beacause of the gcc version.
But when i run code, warning pops up. it's like
'optimize' attribute directive ignored
I used attribue like
void *ptime(void* ptime) __attribute__((optimize("O0"))); //prototyping
ptime function.
Please let me know what am I wrong or solution for this.
Thanks!
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.