Hacker News new | past | comments | ask | show | jobs | submit login

20 year old C++ has absolutely no chance to compile with a modern compiler unless it has a compatibility option for 20 year old C++ and you know how to enable it. i've had to fix 2 year old code when upgrading gcc.



What breaking changes have gone in since 2000 that didn’t break a change added after 2000?

Auto is the only one I can think of.


When were trigraphs added?

(I am just curious, I have no idea how common your parent's comment is in real life.)


Pretty sure gcc doesn't enable trigraphs unless you pass a command-line option to do so (and maybe it's included in -std or -ansi or something like that).


i've had issues with templates, but please forgive me if i don't provide specifics because it was ages ago. i've stopped doing C++ long before auto was even proposed so can't comment on that.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: