Commit 21ec8478 authored by ghpzin's avatar ghpzin Committed by Matthieu Coudron
Browse files

ns-3: 39 -> 44, fix build with gcc14

- update to latest release tag (ns-3.44), that contains commit:
https://gitlab.com/nsnam/ns-3-dev/-/commit/5b130ba365831cf54674828e46cfa6b7b69c9f77
it fixes build with gcc14.
Without it build fails with this and similar errors:
```
/build/source/src/core/model/val-array.h:83:16: error: template-id not
allowed for constructor in C++20 []
   83 |     ValArray<T>() = default;
      |                ^
```

Diff: https://gitlab.com/nsnam/ns-3-dev/-/compare/ns-3.39...ns-3.44

Changelog: https://gitlab.com/nsnam/ns-3-dev/-/blob/ns-3.44/CHANGES.md
parent 11e4741b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -63,13 +63,13 @@ let
in
stdenv.mkDerivation rec {
  pname = "ns-3";
  version = "39";
  version = "44";

  src = fetchFromGitLab {
    owner = "nsnam";
    repo = "ns-3-dev";
    rev = "ns-3.${version}";
    hash = "sha256-2d8xCCfxRpcCZgt7ne17F7cUo/wIxLyvjQs3izNUnmY=";
    hash = "sha256-rw/WAMk4ZitULqkdyEh9vAFp1UrD1tw2JqgxOT5JQ5I=";
  };

  nativeBuildInputs = [