Skip to content

Commit

Permalink
fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
satoren committed Aug 5, 2016
1 parent a9b7950 commit 6f4b76e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ endif()

if(NOT MSVC)#-Wall nonsense on MSVC
add_definitions("-Wall")
add_definitions ("-Wno-unused-local-typedefs")
#add_definitions("-std=c++11")
endif(NOT MSVC)

Expand Down
5 changes: 0 additions & 5 deletions include/kaguya/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ extern "C" {
#define KAGUYA_NO_STD_MAP_TO_TABLE
#endif


#ifndef KAGUYA_DETECT_USE_DEPRECATED_FEATURE
#define KAGUYA_DETECT_USE_DEPRECATED_FEATURE 0
#endif

#ifndef KAGUYA_FUNCTION_MAX_ARGS
///! max argumeent number for binding function. this define used C++03 only.
#define KAGUYA_FUNCTION_MAX_ARGS 9
Expand Down
2 changes: 1 addition & 1 deletion include/kaguya/utility_cxx11.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace kaguya
struct FunctionSignatureType {
typedef Ret result_type;
typedef TypeTuple<Args...> argument_type_tuple;
static const int argument_count = sizeof...(Args);
static const size_t argument_count = sizeof...(Args);
typedef Ret(*c_function_type)(Args...);
};
template <typename T>
Expand Down

0 comments on commit 6f4b76e

Please sign in to comment.