remove some warnings of vc

This commit is contained in:
MITSUNARI Shigeo 2015-08-18 11:55:10 +09:00
parent 28f2a1fa97
commit 5ccb63a4d6
3 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -3,6 +3,9 @@
using namespace Xbyak;
#ifdef _MSC_VER
#pragma warning(disable : 4245)
#endif
class Sample : public CodeGenerator {
void operator=(const Sample&);
public: