Top "Compiler-errors" questions

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

What is an 'undeclared identifier' error and how do I fix it?

What are undeclared identifier errors? What are common causes and how do I fix them? Example error texts: For the …

c++ compiler-errors declaration undeclared-identifier
"Non-static method cannot be referenced from a static context" error

I have a class named Media which has a method named setLoanItem: public void setLoanItem(String loan) { this.onloan = loan; } …

java compiler-errors static
Why is this program erroneously rejected by three C++ compilers?

I am having some difficulty compiling a C++ program that I've written. This program is very simple and, to the …

c++ visual-c++ compiler-errors clang
Extension methods must be defined in a non-generic static class

I'm getting the error: Extension methods must be defined in a non-generic static class On the line: public class LinqHelper …

c# .net linq extension-methods compiler-errors
MySQL Update Inner Join tables query

I have no idea what the problem is. Using MySQL 5.0 I get a compile error when attempting to run the …

mysql compiler-errors
Error: Could not find or load main class in intelliJ IDE

I'm a beginner in Java and am trying to run my code using IntelliJ that I just installed as my …

java compiler-errors intellij-idea
Cannot open output file, permission denied

So I keep getting this error when trying to compile C++ code using CodeBlocks. cannot open output file [filename.exe] …

c++ compiler-errors codeblocks permission-denied
Undefined symbols for architecture i386: _OBJC_CLASS_$_SKPSMTPMessage", referenced from: error

I have imported framework for sending email from application in background i.e. SKPSMTPMessage Framework. Can somebody suggest why below …

ios objective-c iphone compiler-errors email-integration
Android java.exe finished with non-zero exit value 1

I've tried looking at similar ones and no solution has worked. I've previously run apps without a problem but my …

android gradle compiler-errors jvm
dereferencing pointer to incomplete type

I've seen a lot of questions on this but I'm going to ask the question differently without specific code. Is …

c struct compiler-errors typedef dereference