mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 09:35:23 -04:00
Visual Studio: Always treat warnings 4716 (Function doesn't return a value) and 4013 (implicit function declaration) as errors
Easy to do by accident and is a mistake 99.5% of the time
This commit is contained in:
parent
a5f6150b45
commit
fb9757252b
@ -101,6 +101,7 @@
|
||||
<PrecompiledHeaderFile />
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<TreatSpecificWarningsAsErrors>4716;4013</TreatSpecificWarningsAsErrors>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
@ -122,6 +123,7 @@
|
||||
<PrecompiledHeaderFile />
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<TreatSpecificWarningsAsErrors>4716;4013</TreatSpecificWarningsAsErrors>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
@ -147,6 +149,7 @@
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
|
||||
<TreatSpecificWarningsAsErrors>4716;4013</TreatSpecificWarningsAsErrors>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
@ -176,6 +179,7 @@
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
<EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
|
||||
<TreatSpecificWarningsAsErrors>4716;4013</TreatSpecificWarningsAsErrors>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
|
@ -82,6 +82,7 @@ double Math_FastLog(double x) {
|
||||
/* so log(x) = exp*log(2) + log(mantissa) */
|
||||
|
||||
/* now need to work out log(mantissa) */
|
||||
return 0;
|
||||
}
|
||||
|
||||
double Math_FastExp(double x) {
|
||||
@ -91,6 +92,7 @@ double Math_FastExp(double x) {
|
||||
/* so exp(x) = 2^k * exp(f) */
|
||||
|
||||
/* now need to work out exp(f) */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user