Visual Studio compiler (cl.exe) flags

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Visual Studio compiler (cl.exe) flags

Post by Antonio Linares »

http://msdn.microsoft.com/en-us/library/fwkeyyhe.aspx
/WX
Treats all compiler warnings as errors. For a new project, it may be best to use /WX in all compilations; resolving all warnings will ensure the fewest possible hard-to-find code defects.
The linker also has a /WX option. See /WX (Treat Linker Warnings as Errors) for more information.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply