Fixed gcc still erroring on warning, added newline after macro file.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
f1164f11a8
commit
723eb953a1
|
@ -18,7 +18,7 @@ if (WINDOWS)
|
||||||
endif (WINDOWS)
|
endif (WINDOWS)
|
||||||
|
|
||||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
add_compile_options(-Wno-error=cast-function-type -Wno-error=type-limits)
|
add_compile_options(-Wno-error=cast-function-type -Wno-cast-function-type)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
message(STATUS "Using:
|
message(STATUS "Using:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#define BORROWED_PTR_GETTER_FUNC(o, returns, funcName) \
|
#define BORROWED_PTR_GETTER_FUNC(o, returns, funcName) \
|
||||||
static returns* funcName##Wrapper(o* obj) { return obj->funcName().GetRaw(); }
|
static returns* funcName##Wrapper(o* obj) { return obj->funcName().GetRaw(); }
|
||||||
#define UNIQUE_PTR_GETTER_FUNC(o, returns, funcName) \
|
#define UNIQUE_PTR_GETTER_FUNC(o, returns, funcName) \
|
||||||
static returns* funcName##Wrapper(o* obj) { return obj->funcName().get(); }
|
static returns* funcName##Wrapper(o* obj) { return obj->funcName().get(); }
|
||||||
|
|
Loading…
Reference in New Issue