Top "Compiler-errors" questions

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

C compile error: Id returned 1 exit status

For some reason, when I try compiling a program, the compiler says permission denied and Id returned 1 exit status. Could …

c compiler-errors permission-denied
What is the difference between run-time error and compiler error?

In one of my prof slides on ploymorphism, I see this piece of code with a couple of comments: discountVariable = //…

java compiler-errors
Resolve build errors due to circular dependency amongst classes

I often find myself in a situation where I am facing multiple compilation/linker errors in a C++ project due …

c++ compiler-errors circular-dependency c++-faq
cc1plus: error: unrecognized command line option "-std=c++11" with g++

I'm trying to compile using g++ and either the -std=c++11 or c++0x flags. However, I get this error …

c++ c++11 compiler-errors g++ std
X11/Xlib.h not found in Ubuntu

I'm trying to write a rather trivial program using open gl on linux, but at a compile time it says: …

linux opengl-es compiler-errors
Identifier not found error on function call

I have a program here where I invert the case of an entered string. This is the code in my .…

c++ compiler-errors
what does "error : a nonstatic member reference must be relative to a specific object" mean?

int CPMSifDlg::EncodeAndSend(char *firstName, char *lastName, char *roomNumber, char *userId, char *userFirstName, char *userLastName) { ... return 1; } extern "C" { __declspec(dllexport) …

c++ dll compiler-errors member-functions
Maven error :Perhaps you are running on a JRE rather than a JDK?

I've never worked with Maven before and I am following the instructions here. When I run the command mvn integration-test …

java maven compiler-errors
Compile error: package javax.servlet does not exist

I have a package in which I import javax.servlet.* and javax.servlet.http.* When I try to compile it …

java servlets compilation compiler-errors
C compile error: "Variable-sized object may not be initialized"

Why do I receive the error "Variable-sized object may not be initialized" with the following code? int boardAux[length][length] = {{0}};

c compiler-errors initializer-list variable-length-array