EgtInterface :

- inserita opzione in compilazioni 64bit per evitare Warning su verifica riferimenti non nulli.
This commit is contained in:
DarioS
2022-01-09 15:50:36 +01:00
parent e3aef1e919
commit de63c8e41f
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -120,7 +120,7 @@ BOOL
__stdcall EgtLuaGetGlobVectorVar( const wchar_t* wsVar, double vtVal[3])
{
// verifico parametro di ritorno
if ( &vtVal == nullptr)
if ( vtVal == nullptr)
return FALSE ;
// recupero il valore della variabile
Vector3d vtTmp ;
@@ -135,7 +135,7 @@ BOOL
__stdcall EgtLuaGetGlobPointVar( const wchar_t* wsVar, double ptVal[3])
{
// verifico parametro di ritorno
if ( &ptVal == nullptr)
if ( ptVal == nullptr)
return FALSE ;
// recupero il valore della variabile
Point3d ptTmp ;
+2
View File
@@ -129,6 +129,7 @@ copy $(TargetPath) \EgtProg\DllD32</Command>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
<LanguageStandard>stdcpp17</LanguageStandard>
<AdditionalOptions>-Wno-tautological-undefined-compare</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -198,6 +199,7 @@ copy $(TargetPath) \EgtProg\Dll32</Command>
<WholeProgramOptimization>false</WholeProgramOptimization>
<DebugInformationFormat>None</DebugInformationFormat>
<LanguageStandard>stdcpp17</LanguageStandard>
<AdditionalOptions>-Wno-tautological-undefined-compare</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>