mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
parent
765b8f9fb9
commit
4d33736a5c
@ -418,6 +418,12 @@ CHECK_CXX_COMPILER_FLAG("-Wunused-local-typedefs" CXX_UNUSED_LOCAL_TYPEDEFS)
|
|||||||
# gcc5 complains about this
|
# gcc5 complains about this
|
||||||
CHECK_CXX_COMPILER_FLAG("-Wunused-variable" CXX_WUNUSED_VARIABLE)
|
CHECK_CXX_COMPILER_FLAG("-Wunused-variable" CXX_WUNUSED_VARIABLE)
|
||||||
|
|
||||||
|
# gcc 10 complains about this
|
||||||
|
CHECK_C_COMPILER_FLAG("-Wstringop-overflow" CC_STRINGOP_OVERFLOW)
|
||||||
|
if(CC_STRINGOP_OVERFLOW)
|
||||||
|
set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -Wno-stringop-overflow")
|
||||||
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
|
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
|
||||||
|
@ -40,12 +40,12 @@ using namespace std;
|
|||||||
using namespace ue2;
|
using namespace ue2;
|
||||||
|
|
||||||
struct SimpleV {
|
struct SimpleV {
|
||||||
size_t index;
|
size_t index = 0;
|
||||||
string test_v = "SimpleV";
|
string test_v = "SimpleV";
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SimpleE {
|
struct SimpleE {
|
||||||
size_t index;
|
size_t index = 0;
|
||||||
string test_e = "SimpleE";
|
string test_e = "SimpleE";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user