title: When does GCC define NDEBUG?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1878645/where-does-the-dndebug-normally-come-from">Where does the -DNDEBUG normally come from?</a>  </p>
  </blockquote>
  
  
  
  <p>I am using assertions in my code, but I don't know if they will trigger, because I don't know if NDEBUG is defined or not. Am I supposed to to specify the -DNDEBUG explicitly during compilation?</p>