Added -Wextra flag to notice warnings more easily.
This commit is contained in:
parent
a5f1ebdc09
commit
f4672a5b50
@ -5,7 +5,7 @@ option(PLASP_BUILD_TESTS "Build unit tests" OFF)
|
||||
|
||||
find_package(Boost 1.55.0 COMPONENTS program_options iostreams system filesystem REQUIRED)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wpedantic")
|
||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wpedantic -Werror")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
||||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
|
@ -94,7 +94,7 @@ inline void translateLiteral(output::ColorStream &outputStream, const Expression
|
||||
}
|
||||
else if (literal.is<expressions::DerivedPredicate>())
|
||||
{
|
||||
const auto &derivedPredicate = literal.as<expressions::DerivedPredicate>();
|
||||
//const auto &derivedPredicate = literal.as<expressions::DerivedPredicate>();
|
||||
|
||||
/*m_outputStream << output::Keyword("variable") << "(";
|
||||
translation::translatePredicate(predicate);
|
||||
|
Reference in New Issue
Block a user