Skip to content

Commit 5ec36d3

Browse files
committed
Fix inaccurate ns-2.29 release date references
1 parent 962367f commit 5ec36d3

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The original PDF is also available: [`thesis/Andreozzi-2001-thesis.pdf`](thesis/
3131

3232
## Building on modern systems
3333

34-
ns-2.29 (2005) doesn't compile with modern compilers. The included Docker-based build uses **Ubuntu 18.04 + GCC 7** (the last GCC that compiles ns-2 out of the box). Verified on macOS Apple Silicon and Linux in 2026.
34+
ns-2 doesn't compile with modern compilers. The included Docker-based build uses **Ubuntu 18.04 + GCC 7** (the last GCC that compiles ns-2 out of the box). Verified on macOS Apple Silicon and Linux in 2026.
3535

3636
```bash
3737
git clone https://github.com/digitalities/diffserv4ns.git

‎docs/installation.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Installation
22

3-
DiffServ4NS targets **ns-2 version 2.29** (released 2005). This page provides two sets of instructions:
3+
DiffServ4NS was developed in 2001 and tested against ns-2.29. This page provides two sets of instructions:
44

55
- [**Modern (Docker)**](#building-on-modern-systems-docker) — verified on macOS (Apple Silicon) and Linux in 2026
6-
- [**Legacy**](#legacy-instructions-2006) — the original 2006 instructions, preserved as-is
6+
- [**Legacy**](#legacy-instructions-2001) — the original 2001 instructions, preserved as-is
77

88
For the **ns-3 port** (recommended for new work), see [digitalities/diffserv4ns3](https://github.com/digitalities/diffserv4ns3).
99

@@ -13,7 +13,7 @@ For the **ns-3 port** (recommended for new work), see [digitalities/diffserv4ns3
1313

1414
### The problem
1515

16-
ns-2.29 was written in 2005 using pre-C++11 idioms that modern compilers reject:
16+
ns-2 (and DiffServ4NS) use pre-C++11 idioms that modern compilers reject:
1717

1818
- Implicit `int` return types and K&R-style declarations
1919
- `register` storage class (removed in C++17)
@@ -65,7 +65,7 @@ Six workarounds are applied automatically:
6565

6666
| Workaround | Why |
6767
|------------|-----|
68-
| Replace `config.guess`/`config.sub` | The 2005 versions don't recognise aarch64 (ARM64) |
68+
| Replace `config.guess`/`config.sub` | The vintage versions don't recognise aarch64 (ARM64) |
6969
| Strip `-lX11` flags | Configure adds X11 linker flags even with `--with-tk=no` |
7070
| Add `-fpermissive` to CCOPT | GCC 7 on arm64 is stricter about `const char*` → `char*` conversions |
7171
| Remove `embedded-tk.o` from TclCL | TclCL tries to embed `tk.tcl` even with `--with-tk=no` |

‎scripts/build-ns2-allinone-docker.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Why Docker + Ubuntu 18.04 + GCC 7 + amd64?
55
#
6-
# ns-2.29 (released 2005) uses pre-C++11 idioms that are errors in
6+
# ns-2.29 uses pre-C++11 idioms that are errors in
77
# modern compilers:
88
# - implicit int return types and K&R-style declarations
99
# - 'register' storage class (removed in C++17, warning in C++14)

0 commit comments

Comments
 (0)