2009-02-25 5:04 AM
IAR optimiser
2011-05-17 4:04 AM
When you select: no optimization, do you have the same problem?
2011-05-17 4:04 AM
Hello. Im using IAR 5.3 kickstart version and processor STM32F10xx4 with the optimiser FULL and on speed. When I use #define to remove part of my code with #ifdef ....#endif, the part inside is not skipped even if #define is uncommented. Please, did anyone meet a similar situation? For the time being I will use normal comments. Thanks Johann
2011-05-17 4:04 AM
Hello M3allem. Hope you are fine. No I do not get this problem. Thanks. Nice evening.
2011-05-17 4:04 AM
can you share your code?
2011-05-17 4:04 AM
M3allem hit it right on the nose.
You may wish to experiment by turning minimal optimizations ON - and noting ''if/how'' they effect compilation. You can then continue this process - and discover ''just when'' you run into trouble. Then you can decide if you want to ''quiet'' the error (modify your code) or accept the less than optimal compilation...We’re moving the ST Community to a new platform to give you a better and more reliable community experience.