disable optimization

Help
Test User
2010-05-15
2013-03-12
  • Test User
    Test User
    2010-05-15

    Is it possible to disable the optimization?

    I want
    a = 1
    b = 1
    In my code, however a and b never used.

     
  • Maarten Brock
    Maarten Brock
    2010-05-16

    You have two options for that. Either you make those variables volatile or you disable all optimizations with their corresponding command line option as described in the manual.