Compiler bugs

Back to Programming (on C++)

Here are all the compiler bugs I have come across. They are all errors that I have first found from my code that I haven't been able to find any explanation for. After this I have reduced the problem to its minimal form so it has been easy to verify that it is really a bug. The bugs have been classified by the version of Visual Studio I have found them from. All of the bugs in this list have been fixed in later versions. Although I have not tried, I'd assume that the bugs in the later versions are also present in the former versions.

Learn more

Comeau 4.2.44 - 4.3.10.1 Beta bug Iterator Swap bug (VC2005SP1)
Default parameter from template parameter bug (VC2008SP1) Namespace bug (VC6)
Function type typedef bug (VC2003) Static const member variable bug (VC2008SP1)
Incomplete inner classes bug (VC2008SP1) Template Deduction bug (VC2008)
Incorrect enumerator scoping (VC2008SP1) Template bug (VC2005SP1)
Incorrect warning with base classes (VC2008SP1) Using declaration bug (VC2008SP1)
Inner class bug (VC2005) Using destructor bug (VC2008SP1)
Internal compiler error (VC2008SP1) Using namespace bug (VC2008SP1)
Iterator Splice bug (VC2005SP1) getline bug (VC6)