mirror of
https://github.com/herumi/xbyak
synced 2024-11-21 16:09:11 -07:00
remove some warnings of vc
This commit is contained in:
parent
28f2a1fa97
commit
5ccb63a4d6
3 changed files with 6 additions and 1 deletions
|
@ -2,6 +2,6 @@ rem set STL_DIR=c:/s/STLport
|
|||
rem set OPT=-GX -I%STL_DIR%/stlport /link /libpath:%STL_DIR%/lib
|
||||
rem set OPT=-GX -I../xbyak
|
||||
rem don't add /Ox
|
||||
set OPT=/EHsc -I../xbyak
|
||||
set OPT=/EHsc -I../xbyak /W4 -D_CRT_SECURE_NO_WARNINGS
|
||||
cl gen_code.cpp %OPT%
|
||||
gen_code > ..\\xbyak\\xbyak_mnemonic.h
|
||||
|
|
|
@ -78,6 +78,8 @@ const uint64 YMM = _YMM | _YMM2;
|
|||
const uint64 NOPARA = 1ULL << (bitEnd - 1);
|
||||
|
||||
class Test {
|
||||
Test(const Test&);
|
||||
void operator=(const Test&);
|
||||
const bool isXbyak_;
|
||||
int funcNum_;
|
||||
// check all op1, op2, op3
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
|
||||
using namespace Xbyak;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4245)
|
||||
#endif
|
||||
class Sample : public CodeGenerator {
|
||||
void operator=(const Sample&);
|
||||
public:
|
||||
|
|
Loading…
Reference in a new issue