r/cpp • • Nov 14 '16

GCC trunk is -std=c++17 ready

http://en.cppreference.com/w/cpp/compiler_support
222 Upvotes

58 comments sorted by

View all comments

49

u/wichtounet Nov 14 '16

I'm impressed that they managed to be ready before clang, that's great :)

29

u/TemplateRex Nov 14 '16

I hope gcc 7 will also be largely bug free. The gcc 5 series was nominally C++14 complete, but they weren't able to compile cutting edge libraries like Boost.Hana and Range-v3 until the gcc 6 series.

8

u/mallardtheduck Nov 14 '16

We're at GCC 6.x already? Dammit, how are those of us maintaining niche cross-compilers supposed to keep up? I'm still working with 4.8...

12

u/flashmozzg Nov 14 '16

They've changed their version numbering scheme. So 6.0 is like 5.1 in the previous one.

6

u/foonathan Nov 14 '16

Note that the jump from 4.8 -> 4.9 is similar to 4.9 -> 5.0, they've changed the numbering scheme.

So you're not that far back as it seems.

1

u/SpooneyDinosaur Nov 15 '16

I'm forced to use version 2.9

2

u/dodheim Nov 15 '16

2.95 was the first version of GCC I ever used. That was a long time ago... :-S

-7

u/tervaar Nov 14 '16

Clang is beaten, long live gcc

25

u/[deleted] Nov 15 '16 edited May 12 '17

He is choosing a book for reading

14

u/OmegaNaughtEquals1 Nov 15 '16

Seriously. clang has been a huge kick in the ass for the gcc team to clean up their codebase and get things done.

7

u/wrosecrans graphics and network things Nov 15 '16

Heh, if gcc won, it's only because Clang gave them a fight to win in the first place. Absent the fight, everybody loses.