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

learn more… | top users | synonyms (5)

2
votes
2answers
61 views

Bind vs Assignment in Haskell

I'm working through the Write Yourself a Scheme tutorial, and one code block made me wonder about the difference between bind and assignment: parseAtom = do first <- letter <|> symbol ...
-1
votes
0answers
6 views

I get the following when compiling Android

external/busybox/miscutils/less.c: In function 'read_lines': external/busybox/miscutils/less.c:505:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ...
0
votes
1answer
20 views

Unhanded Malformed URL Exception

I created a separate method to prepare my query to Google places: public URL getPlacesUrl (String stringLocation){ try{ String url = Uri.parse(PLACES_REQUEST_URL).buildUpon(). ...
0
votes
0answers
20 views

Compile C for Mips architecture

I have seen several ways to do this (and so far I havent tried a couple but I want to isolate this one for ease) There is supposed to be a way to do this VIA gcc and I would prefer this i just keep ...
0
votes
2answers
45 views

Why I can't install postgresql with rails 4.0.0.rc1 (ruby 2.0)

first time on forum so i will try to be as specific as one can be, sorry for any possible typos ok? I am relatively new to rails (less than a year), and i want to make a default project to work with ...
4
votes
2answers
88 views

How to divide by zero without error

i need to obtain float NaN and infinity, but i can't use such constructions 0. / 0. 1. / 0. because it cause compile time error C2124: divide or mod by zero EDIT, it is cool to have answers ...
0
votes
1answer
18 views

Why does compiling my XCode project work with Apple-(B)uild and fail to compile with Apple-(U)nit tests?

When using XCode 4.6, my question is that I want to know the difference between using the Apple-B (compile my source) versus the Apple-U which I thought is compile my source and run unit tests ...
-1
votes
2answers
22 views

Error adding foreign key to existing column

I have a table where i had one primary key and another column which is primary key of the other table in same database. I just wan add the foregin key but showing error - #1452 - Cannot add ...
0
votes
1answer
5 views

Type 'CrystalDecisions.CrystalReports.Engine.Section' is not defined.

Been working on an workorder application and its been going along just fine. I downloaded and install Crystal reports the other day and designed a report in my project. After coding for a bit i ...
0
votes
0answers
18 views

How to build OpenCV 2.4.9 for iOS?

I am following these instructions which belong to the openCV doc, but they are really outdated: iOS4 or iOS5 is mentioned, XCode 4.2 installed in /Developer, etc.. It doesn't build, and I have ...
2
votes
2answers
19 views

gcc compiler error with -D option

I've written a makefile that compiles multiple files. when executing a line like this : g++ -c -Wall -U DEBUG -U FILE -U HighPriority -U OnlyCUDA -U CUDA -U THREAD_NUM -U SIZE -U InputFileName -D ...
0
votes
3answers
55 views

no matching function for call to 'Book::Book()'

I am doing something for a MIT OCW course and it asks to write a 'library' class . Right now I have this: #include <iostream> using namespace std; class Book{ string title; bool ...
0
votes
3answers
80 views

error: expected ‘)’ before ‘?’ token

So I am getting this error even though the code I am compiling has no '?' at all. I am using gcc as my compiler & linker. Any tips on why this is happening? Also, when I remove the 'l' from the ...
0
votes
0answers
20 views

Crosstool-ng python error

I recently trying to compile crosstool-ng for my arm board. The host is Arch linux 3.9.4-1. I ran into these following issues: [ALL ] checking for python... /usr/bin/python [ALL ] File ...
-4
votes
3answers
33 views

When I try to print contents of an array I get this: [duplicate]

Im using NetBeans IDE (If that matters, although it does the same thing in Eclipse) and when I run this program: public class wordscramble { public static void main(String[] args) { ...

1 2 3 4 5 290
15 30 50 per page