mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Changed: Reactivate runtime checks and optimizations
This commit is contained in:
parent
3ae23b3b36
commit
99c0124f2c
2 changed files with 2 additions and 17 deletions
|
@ -85,13 +85,6 @@ typedef struct SHA1Context
|
|||
int Corrupted; /* Is the message digest corrupted? */
|
||||
} SHA1Context;
|
||||
|
||||
|
||||
// Because the code does some tricky stuff, VC>6 would cry at runtime
|
||||
#ifdef _MFC_VER
|
||||
#pragma runtime_checks( "", off )
|
||||
#endif
|
||||
|
||||
|
||||
//
|
||||
// Function Prototypes
|
||||
//
|
||||
|
@ -194,10 +187,6 @@ CHashKey getSHA1(const string &filename, bool forcePath)
|
|||
return hk;
|
||||
}
|
||||
|
||||
#ifdef _MFC_VER
|
||||
#pragma runtime_checks( "", off )
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Define the SHA1 circular left shift macro
|
||||
*/
|
||||
|
@ -554,7 +543,3 @@ void SHA1PadMessage(SHA1Context *context)
|
|||
|
||||
SHA1ProcessMessageBlock(context);
|
||||
}
|
||||
|
||||
#ifdef _MFC_VER
|
||||
#pragma runtime_checks( "", restore )
|
||||
#endif
|
||||
|
|
|
@ -1638,7 +1638,7 @@ float NLPACS::CLocalRetriever::getInteriorHeightAround(const ULocalPosition &pos
|
|||
|
||||
// ***************************************************************************
|
||||
#ifdef NL_OS_WINDOWS
|
||||
#pragma optimize( "", off )
|
||||
//#pragma optimize( "", off )
|
||||
#endif // NL_OS_WINDOWS
|
||||
|
||||
void NLPACS::CLocalRetriever::findPath(const NLPACS::CLocalRetriever::CLocalPosition &A,
|
||||
|
@ -1853,7 +1853,7 @@ void NLPACS::CLocalRetriever::findPath(const NLPACS::CLocalRetriever::CLocalPosi
|
|||
path.push_back(CVector2s(B.Estimation));
|
||||
}
|
||||
#ifdef NL_OS_WINDOWS
|
||||
#pragma optimize( "", on )
|
||||
//#pragma optimize( "", on )
|
||||
#endif // NL_OS_WINDOWS
|
||||
|
||||
// ***************************************************************************
|
||||
|
|
Loading…
Reference in a new issue