delphidelphi-2009

Delphi 2009 where is the 'treat warnings as errors' option?


In Delphi 2009 whereabouts do you turn on the option to treat warnings as errors?


Solution

  • Just found the answer soon after I posted this! Might be useful for other people.

    Navigate to 'Project -> Options - > Delphi Compiler -> Hints and Warnings' and change the value of 'Output Warnings' to 'as errors'

    I was looking for an option similar to what Visual Studio has