forked from bartvdbraak/blender
quiet warnings from r56825
- using vars before checking they are defined - /* within comment
This commit is contained in:
parent
b0bb21e32d
commit
8982439383
@ -62,9 +62,9 @@ static bool RegionIsInBounds(const FloatImage &image1,
|
||||
}
|
||||
|
||||
/* Ugly but necessary fix for compilation on VS2012
|
||||
/* this file causes an Internal Compiler Error */
|
||||
* this file causes an Internal Compiler Error */
|
||||
// TODO: check regularly if ICE is fixed by MS!
|
||||
#if (_MSC_VER >= 1700 && _WIN64)
|
||||
#if defined(_MSC_VER) && defined(_WIN64) && (_MSC_VER >= 1700)
|
||||
#pragma optimize("s", on)
|
||||
#endif
|
||||
|
||||
|
@ -53,9 +53,9 @@ static bool RegionIsInBounds(const FloatImage &image1,
|
||||
}
|
||||
|
||||
/* Ugly but necessary fix for compilation on VS2012
|
||||
/* this file causes an Internal Compiler Error */
|
||||
* this file causes an Internal Compiler Error */
|
||||
// TODO: check regularly if ICE is fixed by MS!
|
||||
#if (_MSC_VER >= 1700 && _WIN64)
|
||||
#if defined(_WIN64) && defined(_MSC_VER) && (_MSC_VER >= 1700)
|
||||
#pragma optimize("s", on)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user