diff options
author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2023-02-23 13:24:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 12:24:02 -0600 |
commit | ed5216a3adc62dc77fdd0d9cd864dbf374b26896 (patch) | |
tree | 8d8dbb77be80dbb17a86b862e3871758a9557f7c /lib/compilers/golang.ts | |
parent | 563b220cb9243ea19a49cfe82cf9fcadda79b600 (diff) | |
download | compiler-explorer-ed5216a3adc62dc77fdd0d9cd864dbf374b26896.tar.gz compiler-explorer-ed5216a3adc62dc77fdd0d9cd864dbf374b26896.zip |
compiler.clang_p1144: get libstdc++ headers from trunk, remove -std=c++2a (#4770)gh-6430
- The old version was getting libstdc++ from gcc-9.2.0 instead of trunk
(13.x). After this patch, passing `-stdlib=libstdc++` will get you
libstdc++ trunk, which includes things like `<ranges>` that are missing
from 9.x.
- While I'm in the vicinity, let's stop defaulting to -std=c++2a; this
was more appealing when Clang trunk defaulted to -std=c++98, but now
that trunk defaults to -std=c++17, I don't think the divergence buys me
anything.
- For the record, I added `-g0` in 4128fcc57 (back in 2019) to fix a
crash with DWARF info, and never got around to investigating it. It's
probably no longer needed, but I don't know, so I'm leaving it in place.
Diffstat (limited to 'lib/compilers/golang.ts')
0 files changed, 0 insertions, 0 deletions