mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-21 22:33:08 +01:00
Cleanup.
This commit is contained in:
@@ -401,29 +401,4 @@
|
||||
# define BX_ARCH_NAME "64-bit"
|
||||
#endif // BX_ARCH_
|
||||
|
||||
#ifndef BX_CONFIG_ENABLE_MSVC_LEVEL4_WARNINGS
|
||||
# define BX_CONFIG_ENABLE_MSVC_LEVEL4_WARNINGS 0
|
||||
#endif // BX_CONFIG_ENABLE_MSVC_LEVEL4_WARNINGS
|
||||
|
||||
#if BX_CONFIG_ENABLE_MSVC_LEVEL4_WARNINGS && BX_COMPILER_MSVC
|
||||
# pragma warning(error:4062) // ENABLE warning C4062: enumerator'...' in switch of enum '...' is not handled
|
||||
# pragma warning(error:4100) // ENABLE warning C4100: '' : unreferenced formal parameter
|
||||
# pragma warning(error:4189) // ENABLE warning C4189: '' : local variable is initialized but not referenced
|
||||
# pragma warning(error:4121) // ENABLE warning C4121: 'symbol' : alignment of a member was sensitive to packing
|
||||
//# pragma warning(error:4127) // ENABLE warning C4127: conditional expression is constant
|
||||
# pragma warning(error:4130) // ENABLE warning C4130: 'operator' : logical operation on address of string constant
|
||||
# pragma warning(error:4239) // ENABLE warning C4239: nonstandard extension used : 'argument' : conversion from '*' to '* &' A non-const reference may only be bound to an lvalue
|
||||
//# pragma warning(error:4244) // ENABLE warning C4244: 'argument' : conversion from 'type1' to 'type2', possible loss of data
|
||||
# pragma warning(error:4245) // ENABLE warning C4245: 'conversion' : conversion from 'type1' to 'type2', signed/unsigned mismatch
|
||||
# pragma warning(error:4263) // ENABLE warning C4263: 'function' : member function does not override any base class virtual member function
|
||||
# pragma warning(error:4265) // ENABLE warning C4265: class has virtual functions, but destructor is not virtual
|
||||
# pragma warning(error:4431) // ENABLE warning C4431: missing type specifier - int assumed. Note: C no longer supports default-int
|
||||
# pragma warning(error:4505) // ENABLE warning C4505: '' : unreferenced local function has been removed
|
||||
# pragma warning(error:4545) // ENABLE warning C4545: expression before comma evaluates to a function which is missing an argument list
|
||||
# pragma warning(error:4549) // ENABLE warning C4549: 'operator' : operator before comma has no effect; did you intend 'operator'?
|
||||
# pragma warning(error:4701) // ENABLE warning C4701: potentially uninitialized local variable 'name' used
|
||||
# pragma warning(error:4706) // ENABLE warning C4706: assignment within conditional expression
|
||||
# pragma warning(error:4800) // ENABLE warning C4800: '': forcing value to bool 'true' or 'false' (performance warning)
|
||||
#endif // BX_CONFIG_ENABLE_MSVC_LEVEL4_WARNINGS && BX_COMPILER_MSVC
|
||||
|
||||
#endif // BX_PLATFORM_H_HEADER_GUARD
|
||||
|
||||
@@ -31,10 +31,6 @@ BX_DIR = path.getabsolute("..")
|
||||
local BX_BUILD_DIR = path.join(BX_DIR, ".build")
|
||||
local BX_THIRD_PARTY_DIR = path.join(BX_DIR, "3rdparty")
|
||||
|
||||
defines {
|
||||
"BX_CONFIG_ENABLE_MSVC_LEVEL4_WARNINGS=1"
|
||||
}
|
||||
|
||||
dofile "toolchain.lua"
|
||||
toolchain(BX_BUILD_DIR, BX_THIRD_PARTY_DIR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user