fixed MSVC 2015 compile warnings

This commit is contained in:
Johannes van Waveren 2016-10-21 17:21:12 +09:00
parent e07c703867
commit 8e1e717cae
3 changed files with 13 additions and 0 deletions

View file

@ -46,6 +46,11 @@
#ifndef __INTERMEDIATE_H
#define __INTERMEDIATE_H
#if _MSC_VER >= 1900
#pragma warning( disable : 4464 ) // relative include path contains '..'
#pragma warning( disable : 5026 ) // 'glslang::TIntermUnary': move constructor was implicitly defined as deleted
#endif
#include "../Include/Common.h"
#include "../Include/Types.h"
#include "../Include/ConstantUnion.h"