Top "Compiler-errors" questions

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

Why is this code giving an "unreachable code" error?

I can't seem to find a way to fix this problem. All i'm doing is declaring an integer and it's …

java compiler-errors unreachable-code
Android gives error "Cannot fit requested classes in a single dex file"

I don't know why but it's impossible to launch my app on my mobile this morning. I get this error …

java android compiler-errors dex
Error in xcode project: ld: library not found for -lcrt1.10.6.o

Just upgraded to Snow Leopard, installed Xcode 3.2, then installed iPhone SDK 3 for SL. In a project, I now get the …

iphone xcode compiler-errors osx-snow-leopard
"Code too large" compilation error in Java

Is there any maximum size for code in Java? I wrote a function with more than 10,000 lines. Actually, each line …

java arrays compiler-errors code-size
How to compile a java source file which is encoded as "UTF-8"?

I saved my Java source file specifying it's encoding type as UTF-8 (using Notepad, by default Notepad's encoding type is …

java unicode compiler-errors javac
Linking files in g++

Recently I have tried to compile a program in g++ (on Ubuntu). Usually i use Dev-C++ (on Windows) and it …

c++ g++ compiler-errors linker-errors
c )make error& link problem: i386:x86-64 architecture of input file, incompatible with i386 output

I have this output with error message when i type "make" in terminal!! gcc test1.o dispatchQueue.o -o test1 …

c makefile compiler-errors linker-errors incompatibletypeerror
How to use a Java class in JSP scriptlet? Error says the class cannot be resolved to a type

I have written a sample JSP file in Eclipse and a Java file and was trying to call the Java …

java jsp compiler-errors cannot-find-symbol
"ClickOnce does not support the request execution level 'requireAdministrator.'"

So I was writing an application that requires access to the registry. I had not touched any build settings, wanting …

c# wpf compiler-errors clickonce
C++ mutex in namespace std does not name a type

I'm writing a simple C++ program to demonstrate the use of locks. I am using codeblocks and gnu gcc compiler. #…

c++ multithreading compiler-errors locking mingw