Top "Compiler-errors" questions

An error that is generated during the compilation phase, often due to problems with invalid syntax and/or types.

Compilation fails randomly: "cannot open program database"

During a long compilation with Visual Studio 2005 (version 8.0.50727.762), I sometimes get the following error in several files in some project: …

c++ visual-studio visual-studio-2005 compiler-errors nightly-build
Invalid use of 'this' in non-member function

I had working on a class and started writing everything in the same .cpp file. However, after a while I …

c++ compiler-errors this non-member-functions
IntelliJ Idea, run code regardless of errors in unrelated project files

One thing that I miss from Eclipse is that I can't run code for testing various things (think short main()) …

compiler-errors intellij-idea
c++ undefined symbol when compiling

FIXED: had the method twice in the header file I get the following error when trying to compile my project % …

c++ compiler-errors makefile undefined-symbol
Template issue causes linker error (C++)

I have very little idea what's going in regards to C++ templates, but I'm trying to implement a function that …

c++ templates compiler-errors
The name '__o' does not exist in the current context

I just installed Visual Studio 2015 and opened my asp .net project that I was working on. I'm receiving many errors (…

c# asp.net visual-studio visual-studio-2015 compiler-errors
Swift Compiler Error: "Expression too complex" on a string concatenation

I find this amusing more than anything. I've fixed it, but I'm wondering about the cause. Here is the error: …

ios xcode swift compiler-errors functional-programming
JNI - "Cannot open include file: 'jni_md.h'"

This sample program is meant to call a native method written in C. Java Code class HelloWorld { private native void …

java c compiler-errors java-native-interface
Can GCC not complain about undefined references?

Under what situation is it possible for GCC to not throw an "undefined reference" link error message when trying to …

c gcc compiler-errors compiler-warnings