Skip to content

Commit

Permalink
makefrag: suppress warnings about C++17 features used in the code
Browse files Browse the repository at this point in the history
seen when used with omnetpp-6.0.3
  • Loading branch information
avarga committed Jan 23, 2025
1 parent 3d966a2 commit 7dc6366
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/makefrag
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
#
MSGC:=$(MSGC) --msg6

# Compile as C++17 to suppress warnings ("warning: decomposition declarations are a C++17 extension [-Wc++17-extensions]")
CFLAGS+= -std=c++17

#
# on Windows we have to link with the winsock2 library as it is no longer added
# to the omnetpp system libraries by default (as of OMNeT++ 5.1)
Expand Down

0 comments on commit 7dc6366

Please sign in to comment.