[patch] Failed to compile OMNET++ with C++17

23 views
Skip to first unread message

tomasz.jan...@gmail.com

unread,
Nov 4, 2018, 7:50:27 AM11/4/18
to OMNeT++ Users
Hello,

I tried to compile OMNET++ v5.4.1 with clang v7.0.0/Linux and C++17. The compilation failed, but it was very easy to fix code base. Please find the patch attached.

I've been using built OMNET++ for a while and didn't observe any problems.

Best regards,
Tomasz
cpp17.patch

Attila Török

unread,
Nov 5, 2018, 5:49:17 AM11/5/18
to omn...@googlegroups.com
Hello Tomasz,

You are right, the build does fail with -std=c++17, and your patch indeed fixes it.
Thank you for your contribution!

Attila

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

tomasz.jan...@gmail.com

unread,
Nov 5, 2018, 12:41:15 PM11/5/18
to OMNeT++ Users
Hello Attila,

I'm pleased to hear that. Does it mean that you plan to apply my patch in future release?

Best regards,
Tomasz

Attila Török

unread,
Nov 5, 2018, 2:42:52 PM11/5/18
to omn...@googlegroups.com
Hi,

Certainly!
Unless, of course, you have any sort of copyright claim, or intellectual property rights objection.

Attila

Tomasz Jankowski

unread,
Nov 5, 2018, 3:28:52 PM11/5/18
to omn...@googlegroups.com
Please feel free to use it.

You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/O8qQq2axPbE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages