Timeline for When has C or C++ made itself intentionally backwards incompatible? [closed]
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 17 at 4:29 | comment | added | gnasher729 | Quite common is new features using new keywords that cannot be used as plain identifiers anymore. For example, at some point “int restrict = 0;” became invalid C. | |
| Aug 16 at 20:52 | comment | added | CPlus♦ | The answer will be different for C and C++, please pick one and focus on one. | |
| Aug 16 at 20:37 | history | edited | CPlus♦ | CC BY-SA 4.0 |
Fixed spelling, improved flow
|
| Jan 20, 2023 at 14:00 | comment | added | pjc50 | There was a certain amount of breakage before standardisation, but that was way back in the 90s. It's like asking about pre-ANSI C. | |
| Jan 20, 2023 at 13:57 | comment | added | pjc50 | Closed now, but the C++ breakages have tended to be in obscure corners and not to affect most codebases, while the print change affected almost every single script, and (more importantly) the unicode change broke almost every single piece of text handling. Also, you can often use older C++ libraries in updated programs, while the same was not true of python and crippled the upgrade. | |
| Jan 20, 2023 at 10:07 | vote | accept | Anon | ||
| Jan 20, 2023 at 10:00 | comment | added | Doc Brown | Questions asking for long lits of things are not well suited for this site. But you can lookup the breaking changes at the official standards, as Caleth pointed out. Unfortunately, asking for 3rd party resources is off-topic for the site. If you ask me for a change similar to the change from Python2 to Python3, I think Stroustrup intentionally chose to make C++ not 100% backwards compatible to C, for the purpose of creating a more powerful language. | |
| Jan 20, 2023 at 9:54 | history | closed |
gnat Philip Kendall Doc Brown |
Needs more focus | |
| Jan 20, 2023 at 9:51 | answer | added | Caleth | timeline score: 4 | |
| Jan 20, 2023 at 8:56 | review | Close votes | |||
| Jan 20, 2023 at 9:56 | |||||
| Jan 20, 2023 at 8:48 | history | edited | Anon | CC BY-SA 4.0 |
Added focus to the question, to strictly be about instances which broke backwards compatibility
|
| Jan 20, 2023 at 8:42 | history | edited | Anon | CC BY-SA 4.0 |
added 181 characters in body
|
| Jan 20, 2023 at 8:34 | history | asked | Anon | CC BY-SA 4.0 |