Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
warning treated as error - no object file generated
Remarks
/WX tells the compiler to treat all warnings as errors. Because an error occurred, no object or executable file was generated.
This error only appears when the /WX flag is set and a warning occurs during compilation. To fix this error, you must eliminate every warning in your project.
To fix, use one of the following techniques
Fix the problems that cause warnings in your project.
Compile at a lower warning level—for example, use /W3 instead of /W4.
Use a warning pragma to disable or suppress a specific warning.
Don't use /WX to compile.