gcc flags & misc
This commit is contained in:
parent
68ee192ad4
commit
803cad95f9
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
#include "types.h"
|
||||
|
||||
#if BUILD_COMPILER!=COMPILER_VC && (BUILD_COMPILER!=COMPILER_CLANG || !WIN32)
|
||||
#if BUILD_COMPILER!=COMPILER_VC && (BUILD_COMPILER!=COMPILER_CLANG || !defined(WIN32))
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include "cfg/cfg.h"
|
||||
|
||||
|
||||
#if BUILD_COMPILER==COMPILER_VC || (WIN32 && BUILD_COMPILER==COMPILER_CLANG)
|
||||
#if BUILD_COMPILER==COMPILER_VC || BUILD_COMPILER==COMPILER_CLANG && defined(WIN32)
|
||||
#include <io.h>
|
||||
#include <direct.h>
|
||||
#define access _access
|
||||
|
|
|
@ -518,7 +518,7 @@ typedef union
|
|||
|
||||
|
||||
|
||||
#if BUILD_COMPILER==COMPILER_VC || BUILD_COMPILER==COMPILER_CLANG && WIN32
|
||||
#if BUILD_COMPILER==COMPILER_VC || BUILD_COMPILER==COMPILER_CLANG && defined(WIN32)
|
||||
#pragma warning( disable : 4127 4996 /*4244*/)
|
||||
#else
|
||||
#define stricmp strcasecmp
|
||||
|
|
|
@ -305,7 +305,7 @@ elseif ((${BUILD_COMPILER} EQUAL ${COMPILER_GCC}) OR
|
|||
endif() # X86 family
|
||||
|
||||
|
||||
set(_CXX_FLAGS "${_CXX_FLAGS} -std=c++17 -fcxx-exceptions") ## xbyak needs exceptions
|
||||
set(_CXX_FLAGS "${_CXX_FLAGS} -std=c++17") # -fcxx-exceptions") ## xbyak needs exceptions
|
||||
|
||||
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue