From 2b0526ec9d13cb81d170cb5164e7e81b2f626236 Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Wed, 17 Sep 2025 09:52:23 +0200 Subject: [PATCH] build: (fixes #1261) Restrict ns3 script --cxx-standard flag to 23 and 26 --- ns3 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ns3 b/ns3 index 6ef6ca109..5bf64e268 100755 --- a/ns3 +++ b/ns3 @@ -184,7 +184,11 @@ def parse_args(argv): ) parser_configure.add_argument( - "--cxx-standard", help="Compile NS-3 with the given C++ standard", type=str, default=None + "--cxx-standard", + help="Compile NS-3 with the given C++ standard", + type=str, + default=None, + choices=["23", "26"], ) # On-Off options