Treat a specific compiler warning as an error? lazarus / 62-General ---------------------------------------------------------------------- Bart · 2020-02-22 15:16 Hi, Is it possible to make the compiler treat a specific warning (in my case 3177) as a compilation error? Bart ---------------------------------------------------------------------- Jonas Maebe · 2020-02-22 15:48 {$warn 3177 error} I don't think there's a way to do the same from the command line. ---------------------------------------------------------------------- Bart · 2020-02-22 22:29 Quote from: Jonas Maebe on February 22, 2020, 04:48:39 pm{$warn 3177 error} I don't think there's a way to do the same from the command line. Thanks. I was hoping for a compiler directive in the sourcecode. Bart