Skip to content

Modernize code base to C++11 (first) #79

@fangism

Description

@fangism

In its current state, the code base compiles using the C++98 standard. It is year 2025 soon. It struggles to compile with most reasonably recent compilers. Modernization will need to be done in phases, rather than jumping to c++20 or c++23 all at once.

Phase 1: compile against -std=c++11 before we jump to c++14, c++17, etc. c++11 was a "great leap forward", and this transition is expected to be laborious. Changes to this effect will happen on the remove-STL-fwd branch.

Some suggested configuration options for testing:
configure CC="clang-16" CXX="clang++-16" CXXFLAGS='CXXFLAGS=-g -O2 -std=c++11 -Wno-unused-local-typedef'

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions