Fixed gcc still erroring on warning, added newline after macro file.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -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(); }
|
||||||
|
|||||||
Reference in New Issue
Block a user