Skip to content

Commit

Permalink
CI: Compile with -Wpedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Nov 2, 2023
1 parent 261c30b commit 7075e3d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .ci_support/run_docker_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ cd /tmp
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=~/.local \
-DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BATCH_SIZE=32 \
-DCMAKE_CXX_FLAGS="-Wall -Wextra -Werror -D_GLIBCXX_ASSERTIONS" \
-DSWIG_COMPILE_FLAGS="-O1 -Wno-unused-parameter" \
-DCMAKE_CXX_FLAGS="-Wall -Wextra -Wpedantic -Wshadow -Werror -D_GLIBCXX_ASSERTIONS" \
-DSWIG_COMPILE_FLAGS="-O1 -Wno-unused-parameter -Wno-shadow" \
-DSPHINX_FLAGS="-W -T -j4" \
/io
make install
Expand Down
2 changes: 1 addition & 1 deletion lib/src/otrobopt/InverseFORM.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class OTROBOPT_API InverseFORM
: public OT::PersistentObject
{

CLASSNAME;
CLASSNAME
public:

/** Default constructor */
Expand Down
2 changes: 1 addition & 1 deletion lib/src/otrobopt/InverseFORMResult.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace OTROBOPT {
class OTROBOPT_API InverseFORMResult:
public OT::FORMResult
{
CLASSNAME;
CLASSNAME
public:

/** Standard constructor */
Expand Down
2 changes: 1 addition & 1 deletion lib/src/otrobopt/SubsetInverseSamplingResult.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace OTROBOPT
class OTROBOPT_API SubsetInverseSamplingResult
: public OT::ProbabilitySimulationResult
{
CLASSNAME;
CLASSNAME
public:

/** Constructor with parameters */
Expand Down

0 comments on commit 7075e3d

Please sign in to comment.