Menu

Output unused vars and functions

2002-11-29
2012-09-26
  • Nobody/Anonymous

    It would be great if we had an option on DEV-CPP to output Vars and functions that we declared but our code never calls or uses. You know, when the code gets bigger sometimes we forget some trash around.
    Maybe that already exists and i dont know where it is.

     
    • Curtis Sutter

      Curtis Sutter - 2002-11-29

      try adding  -Wall to your compiler options.

      Curtis

       
    • Nobody/Anonymous

      DEAR GOD :))
      And i was so proud my first app had no errors and warnings LOL...
      Time to fix all this crap :\ Thanks a lot Wayne! BTW,
      -That options should be set as default on newer versions of dev-cpp!
      -Can you tell me other things i should set in order to trace my errors?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.