Skip to content

Some parts of ROOT still mention C++11 #8643

@hahnjo

Description

@hahnjo

The minimum version is C++14 since #8583.

# if defined(__cplusplus) && (__cplusplus < 201103L)
# error "ROOT requires support for C++11 or higher."
# if defined(__GNUC__) || defined(__clang__)
# error "Pass `-std=c++11` as compiler argument."
# endif
# endif

filter:
`root-config --cxx` -o filter filter.cxx -std=c++11

root/config/root-config.in

Lines 348 to 350 in 8341e59

win32gcc | win64gcc)
# Windows (32 or 64) with cygwin gcc
auxcflags="-std=gnu++11"

Possibly more in pyroot / cppyy

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions