For questions about (suspected) incorrect behavior of a compiler.
Came across an interesting interview question: test 1: printf("test %s\n", NULL); printf("test %s\n", NULL); prints: test (null) …
c linux language-lawyer compiler-bugConsider the code below. Looks like perfectly valid C# code right? //Project B using System; public delegate void ActionSurrogate(Action …
c# compiler-errors lambda compiler-bugDue to a bug that was fixed in C# 4, the following program prints true. (Try it in LINQPad) void Main() { …
c# visual-studio-2010 compiler-bugI have found many posts about this error but I could find how to overcome it. This is the code …
c++ c++11 casting floating-point compiler-bugCode (spring-web 5.1.2) public static void main(String[] args) { RestTemplate restTemplate = new RestTemplate(); HttpHeaders headers = new HttpHeaders(); headers.set(HttpHeaders.AUTHORIZATION, "…
java javac type-inference java-11 compiler-bugThe following code generates different results under debug mode and release mode (using Visual Studio 2008): int _tmain(int argc, _TCHAR* …
c++ c optimization visual-studio-2008 compiler-bug