Does anybody has a list of potential problems when rebuilding C++ 2003 code with a C++11 compiler? Maybe some compilers have compatibility warnings.
Asked
Active
Viewed 86 times
0
-
`auto` changed meaning, `auto_ptr` disappeared. – Antimony Apr 21 '13 at 22:43
-
@K-ballo Oops, thanks for catching that. I haven't used it in a while. – Antimony Apr 21 '13 at 22:44
-
1You should check Appendix C.2 of the C++11 standard. – Jesse Good Apr 21 '13 at 22:49
-
5@Antimony `auto_ptr` is still in C++11. It's only deprecated, not removed. – milleniumbug Apr 21 '13 at 22:49
-
I have been bitten by this breaking change in C++11: http://stackoverflow.com/questions/11909806/g-4-7-evaluates-operator-as-sibling-to-macro-expansion – Michael Burr Apr 21 '13 at 22:54
-
You mustn't specify any template parameters explicitly for `std::make_pair` and such like. It's the "deserves to be broken" kind of change, since that was already true in C++03. – Kerrek SB Apr 21 '13 at 22:59