fix pedantic-error

This commit is contained in:
bolero-MURAKAMI 2015-01-12 00:04:04 +09:00
parent 9bf7c26b25
commit 1c8dcf56cd
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ namespace sprout {
static SPROUT_CONSTEXPR Result static SPROUT_CONSTEXPR Result
tuple_cat_impl(sprout::index_tuple<PackIndexes...>, sprout::index_tuple<ElemIndexes...>, Tuples&&... tuples) { tuple_cat_impl(sprout::index_tuple<PackIndexes...>, sprout::index_tuple<ElemIndexes...>, Tuples&&... tuples) {
return Result(sprout::tuples::get<ElemIndexes>(sprout::pack_get<PackIndexes>(SPROUT_FORWARD(Tuples, tuples)...))...); return Result(sprout::tuples::get<ElemIndexes>(sprout::pack_get<PackIndexes>(SPROUT_FORWARD(Tuples, tuples)...))...);
}; }
} // namespace detail } // namespace detail
template<typename... Tuples> template<typename... Tuples>
inline SPROUT_CONSTEXPR typename sprout::types::tuple_cat<typename std::decay<Tuples>::type...>::type inline SPROUT_CONSTEXPR typename sprout::types::tuple_cat<typename std::decay<Tuples>::type...>::type

View file

@ -185,7 +185,7 @@ done
for include_path in ${include_paths[*]}; do for include_path in ${include_paths[*]}; do
include_options="${include_options} -I${include_path}" include_options="${include_options} -I${include_path}"
done done
all_options="-v -Wall -pedantic ${define_options} ${include_options} ${common_options[*]}" all_options="-v -Wall -pedantic -pedantic-errors ${define_options} ${include_options} ${common_options[*]}"
vo=0 vo=0
vkey="" vkey=""
for option in ${compiler_options[*]}; do for option in ${compiler_options[*]}; do