Bradley Jones
Bradley Jones
`constexpr` dates from C++11. The variant of C++ supported by `cdecl` is, according to the manual, equivalent to what Stroustrup's `cfront` Release 2.0 implemented, i.e. C++ circa 1989.
Ironically the very same Microsoft are themselves guilty of [committing the same sin](https://github.com/microsoft/STL/blob/main/stl/inc/cstdint).
In addition to @johnsonjh's answer, one can also use `-xc++`, similarly to GCC, Clang, et al.
LCC is a C89 compiler. It doesn't support compound literals, which were introduced with C99.
The author has a `getopt_long` [alternative](https://github.com/skeeto/optparse) that's *almost* a drop-in replacement.