mirror of
https://gitee.com/zyjblog/oatpp.git
synced 2024-12-22 22:16:37 +08:00
Fix Clang compiler warnings (-Wnewline-eof)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
This commit is contained in:
parent
aa02f4bb3f
commit
82beea0071
@ -300,7 +300,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
add_compiler_flags(10 "-Wno-gnu-zero-variadic-macro-arguments")
|
||||
add_compiler_flags(10 "-Wno-implicit-int-conversion")
|
||||
add_compiler_flags(10 "-Wno-inconsistent-missing-destructor-override")
|
||||
add_compiler_flags(10 "-Wno-newline-eof")
|
||||
add_compiler_flags(10 "-Wno-non-virtual-dtor")
|
||||
add_compiler_flags(10 "-Wno-padded")
|
||||
add_compiler_flags(10 "-Wno-pessimizing-move")
|
||||
|
@ -70,4 +70,4 @@
|
||||
|
||||
#undef OATPP_ENUM_MACRO_1
|
||||
|
||||
#undef ENUM
|
||||
#undef ENUM
|
||||
|
@ -142,4 +142,4 @@ void ConditionVariable::notifyAll() {
|
||||
m_list.notifyAll();
|
||||
}
|
||||
|
||||
}}
|
||||
}}
|
||||
|
@ -97,4 +97,4 @@ CoroutineWaitList& CoroutineWaitList::operator=(CoroutineWaitList&& other) {
|
||||
|
||||
}
|
||||
|
||||
}}
|
||||
}}
|
||||
|
@ -30,4 +30,4 @@ Error::Error(const std::string& what)
|
||||
: runtime_error(what)
|
||||
{}
|
||||
|
||||
}}
|
||||
}}
|
||||
|
@ -172,4 +172,4 @@ void IOWorker::detach() {
|
||||
m_thread.detach();
|
||||
}
|
||||
|
||||
}}}
|
||||
}}}
|
||||
|
@ -136,4 +136,4 @@ void TimerWorker::detach() {
|
||||
m_thread.detach();
|
||||
}
|
||||
|
||||
}}}
|
||||
}}}
|
||||
|
@ -54,4 +54,4 @@ Worker::Type Worker::getType() {
|
||||
return m_type;
|
||||
}
|
||||
|
||||
}}}
|
||||
}}}
|
||||
|
@ -42,4 +42,4 @@ oatpp::String ObjectMapper::writeToString(const type::Void& variant) const {
|
||||
return stream.toString();
|
||||
}
|
||||
|
||||
}}}
|
||||
}}}
|
||||
|
@ -30,4 +30,4 @@ namespace __class {
|
||||
const ClassId AbstractUnorderedSet::CLASS_ID("UnorderedSet");
|
||||
}
|
||||
|
||||
}}}}
|
||||
}}}}
|
||||
|
@ -30,4 +30,4 @@ namespace __class {
|
||||
const ClassId AbstractVector::CLASS_ID("Vector");
|
||||
}
|
||||
|
||||
}}}}
|
||||
}}}}
|
||||
|
@ -45,4 +45,4 @@ v_buff_size ParsingError::getPosition() const {
|
||||
return m_position;
|
||||
}
|
||||
|
||||
}}
|
||||
}}
|
||||
|
@ -38,4 +38,4 @@ v_int64 Binary::nextP2(v_int64 v) {
|
||||
return v;
|
||||
}
|
||||
|
||||
}}
|
||||
}}
|
||||
|
@ -68,4 +68,4 @@ std::shared_ptr<Deserializer> ObjectMapper::getDeserializer() {
|
||||
return m_deserializer;
|
||||
}
|
||||
|
||||
}}}}
|
||||
}}}}
|
||||
|
@ -212,4 +212,4 @@ RequestExecutor::executeAsync(
|
||||
|
||||
}
|
||||
|
||||
}}}
|
||||
}}}
|
||||
|
@ -51,4 +51,4 @@ std::shared_ptr<EncoderProvider> ProviderCollection::get(const std::unordered_se
|
||||
|
||||
}
|
||||
|
||||
}}}}}
|
||||
}}}}}
|
||||
|
@ -162,4 +162,4 @@ async::CoroutineStarterForResult<const oatpp::String&> Request::readBodyToString
|
||||
return m_bodyDecoder->decodeToStringAsync(m_headers, m_bodyStream, m_connection);
|
||||
}
|
||||
|
||||
}}}}}
|
||||
}}}}}
|
||||
|
Loading…
Reference in New Issue
Block a user