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)

0
votes
3answers
24 views

Java program error: possible loss of precision

I am trying to figure out why I am getting this loss of precision error in my Java program. This is the error: error: possible loss of precision int digit = num/Math.pow(10,i-1)%10; ...
2
votes
4answers
2k views

Xcode 8.0 Command /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

When I compile my code on Xcode Version 8.0 beta 4 (8S188o) I get this single error bringing the compilation to failure: Command /Applications/Xcode-beta.app/Contents/Developer/Toolchains/...
2
votes
2answers
2k views

Error: EPERM: operation not permitted

at the moment I try to develop an ionic-app with Webstorm. But gulp is making some troubles. Installed Packages: "gulp": "^3.5.6", "gulp-concat": "^2.2.0", "gulp-minify-css": "^0.3.0", "gulp-rename"...
2
votes
1answer
40 views

Could not copy “obj\Debug\Program.exe” to “bin\Debug\Program.exe”. Exceeded retry count of 10. Failed

I'm trying to download a file from the internet. I have an if statement and the else clause triggers the file download. This is my code: if (!FileDownload) { } else { using (WebClient wc = new ...
0
votes
1answer
15 views

TypeScript Generic Classes: Cannot assign to Generic Type Variable

I'm trying to use Generic interfaces for my classes. My Class has a generic Type which Extends an interface and a class variable with that Type. But as soon as I try to assign a value to that variable ...
0
votes
0answers
35 views

Why is Android changing public bytes to 129?

I was forced to upgrade my apps compileSdkVersion to 25, but in doing so, every public byte variable in my app no longer has valid values (turns to 129 after setting it, no matter what). public class ...
-3
votes
0answers
21 views

recompile apk exception error

I hope someone will help me. I try to change some things in cyanogenmod 13 browser, therefore decompile the apk with apktool 2.2.1 and java 8 [newer do not work also] on windows 10 x64. Decompiling ...
1
vote
2answers
277 views

unhandled promise rejection error in angular2 migration into final version

I tried to migrate from Rc5 into final version of angular2. I changed module.ts and system.config.js files,also moved all the directives into @ngModule.But now I get following error ,I don't know ...
0
votes
1answer
28 views

Java: error: Class is not abstract and does not override abstract method accept(Visitor). While implementing Visitor

I'm trying to implement a Visitor design pattern, I have a class structure with a lot of classes and variable return types between the operation I want to do with the visitor. I am getting a lot of ...
0
votes
1answer
27 views

C# Ambiguous reference between self built Node<T> \ List<T> Class to system's Node and List

I have built my own Node\List Classes in c#, and I have tried to use them in a new project, but vs seems to give me countless errors which I can't figure out how to solve out. Code : using ...
0
votes
1answer
13 views

CoreData NSManagedSubClass files generating duplicate files?

I recently had to move my project to a different folder, and now when I run for some reason when I create the NSManagedSubclasses it seems to be making two copies. One in the correct location I tell ...
-1
votes
0answers
16 views

Errors started suddenly appearing in my cafe Management code when I copied the same code from another function into a new function

Here is the github link to my code since it is over 30000 characters https://github.com/pentazoid/HELLWORLD/blob/master/Cafe_Management_System.java I had know issues before. I compiled my code and it ...
1
vote
1answer
32 views

Expression must have a constant value (Error in C)

This is my code: int main (void) { struct state { int output; int time; const struct state *next[4]; }; typedef const struct state state_t; # define ...
0
votes
1answer
28 views

Waht does [error] request for memebr 'area' in 'r' which is of non-class type 'float' mean?

I am new to coding and I am trying to write a program that has polymorphism but my rectangle part is not working. I have tried to add variables, in all three files to accommodate it but I keep ...
-1
votes
1answer
11 views

“Color cannot be resolved to a type”?

import java.awp.*; public class Reindeer { private String name; private boolean canFly; private Color noseColor; private int antlers; public Reindeer() { } public Reindeer(String ...
-1
votes
0answers
26 views

Java Index out of bound error [duplicate]

When i execute this code it's giving error import java.util.ArrayList; public class RemoveIndex { public static void main(String [] args) { ArrayList<Object> al = new ArrayList&...
-4
votes
2answers
38 views

Keep getting error: expected unqualified id at end of input- C++

I keep getting this error when I try to run my code, and always on the very last line. I am attempting to make a text-based adventure game. It appears (when I run this) that this is my only error. But ...
0
votes
2answers
1k views

DAHDI fails to compile in Linux Kernel 3.8.0-29-generic

I downloaded source codes of DAHDI 2.6.1+2.6.1 and Linux Kernel 3.8.0-29-generic. When I typed sudo apt-get install linux-headers-$(uname -r) to install Linux kernel header I got the message as shown ...
0
votes
1answer
17 views

ldap3 bind syntax error in flask application

I am trying to validate username and password of users in a flask app using ldap3. Normal ldap is not installing in python 3.5. The user is entering username and password through login form, I am ...
0
votes
0answers
17 views

BC30456 VB subroutine is not a member of class file

I have already asked DevExpress this question which they have told me I have problem with my code that involves deleting a row from a DevExpress Gridview. Basically, I have a VB code-behind routine: ...
-1
votes
0answers
12 views

R 'Error in eval(expr, envir, enclos) : object 'd.list' not found'

I am a newbie in R programming and coding, trying to replicate the following code: library(tweenr) library(ggplot2) library(scales) library(viridis) library(animation) library(dplyr) library(readxl) ...
-2
votes
0answers
32 views

Java Calculations totally wrong [on hold]

Im trying to write a progamme that prints information on different packages based on the users input using java inheritance, im pretty sure the calculations are all correct but when run the results ...
1
vote
0answers
11 views

ImportError from greenlet with Python 2.7.3 in virtualenv

I installed locustio pip install locustio Once installed, I tried running locust --help But I get the following error: Traceback (most recent call last): File "/home/vagrant/.virtualenvs/...
18
votes
6answers
24k views

How to fix “The code of method .. is exceeding the 65535 bytes limit”?

I have the following code: public static void main(String[] args) { try { String[] studentnames = { /* this is an array of 9000 strings... */ }; } } I get the ...
0
votes
1answer
29 views

Why doesn't the compiler see errors in a template class in some cases? [duplicate]

I have stumbled upon a behavior of the g++ (6.2.1) compiler that I did not except. It seems that in some cases, g++ ignores errors in a template class when an erroneous definition of a function is not ...
0
votes
0answers
21 views

Xcode not finding header files

In my code (a .h file), I have the following lines: #include <string> #include <map> When I try to compile, Xcode (8.0) returns an error, saying 'string' cannot be found. I tried ...
1
vote
2answers
78 views

How to push_back in a vector?

I made a class as follows: class Variable { public: string name; double value; }; Used it to make a vector as follows: vector<Variable> var_table; Then I made a function is_declared to ...
-3
votes
1answer
40 views

Constructor in class cannot be applied to given types error when calling methods

Im trying to write a program using inheritance, that will print the most cost effective broadband/telephone package based on the users usage. (so the basic idea is that the user enters the amount of ...
-1
votes
0answers
12 views

Error while executing Rscript from php script

I am trying to execute Rscript from PHP script. Here my code : <?php system("Rscript --vanilla ".$JobDir."/code.R 1> /dev/null",$rcmderrorlevel); if ($rcmderrorlevel != 0) { ...
0
votes
0answers
5 views

Apache thrift compile error: undefined reference to `vtable for' [duplicate]

I have successfully installed Apache thrift, and trying to compile example for C++. I am getting the following error: In function `MSEEClient::MSEEClient(boost::shared_ptr<apache::thrift::...
0
votes
1answer
19 views

Linker Error in Xcode 8.1 when trying to build UETorch

I've been trying to build UETorch for OSX 10.12 using Xcode and have encountered the following error: Undefined symbols for architecture x86_64: "FlushRenderingCommands()", referenced from: ...
0
votes
1answer
64 views

Undefined reference to main error

I'm trying to make a Makefile of the bitcount benchmark application. The original Makefile works, but I want to change the Makefile for my needs. I want to create an object file first, and then use it ...
1
vote
1answer
132 views

Haskell cabal: C compiler cannot create executables

I'm trying to install ghc-mod for GHC 8.0.1 on windows/x64. When I try to install ghc-mod via cabal install ghc-mod I get an error saying my C compiler isn't working (it is using the c-compiler ...
0
votes
0answers
11 views

Android error for double

I am new to android and I have a problem. I want to calculate BMR in android and I have some errors. Can you help me out?`public class BMRF extends AppCompatActivity { public double calculareBMR(...
3
votes
2answers
185 views

gsl Error in inifinite integration interval. bad integrand behavior found. How to fix it?

I'm getting the following error message after trying to do the a numerical integration on a infinte interval [0,inf) using GSL in C. gsl: qags.c:553: ERROR: bad integrand behavior found in the ...
1
vote
1answer
601 views

Borland error that works in Microsoft: Couldn't find a match for 'ifstream::open'

I want to read in a text file that has the name: abc.txt The text file contains just a simple a, b, and c, each on their own line. When I compile this using a Microsoft compiler, it compiles with no ...
0
votes
2answers
289 views

Twilio TwilioRestClient 'SendMessage' method does not detect compiler error in c#

I have installed twilio api in my c# project and import library. Now I want to send sms from WF Application. I used this format(https://www.twilio.com/docs/api/rest/sending-messages), but ...
1
vote
1answer
30 views

Qt Error: Searching for a function that does not exist

I have a function called LoadImage in my Qt project. When I try to build the problem, Qt complains error: no 'QImage Utils::LoadImageW(QString)... I do not have any function called LoadImageW, and I ...
0
votes
0answers
19 views

Xcode 8: Shell Script Invocation Error

When I try to build a project containing Cocoapods in Xcode 8, I get the error: Shell Script Invocation Error The message of the error says: ...DerivedData/{project folder}/Build/Products/Debug-...
0
votes
1answer
28 views

Gfortran compiling error after replacing with f77

QI need to compile some files using gfortran. I went to the makefile and replaced all the "f77" with "gfortran". However I get this error when I do "make" gfortran -c verbal.f gfortran -c ...
0
votes
0answers
23 views

C++ implementation of WAR card game using stack throws conversion error

I am trying to implement WAR card game in C++. I have the following data file from which I extract card's value and card suit. 7 hearts Q spades 9 clubs A hearts 10 spades 3 spades K diamonds 10 ...
3
votes
1answer
54 views

Why does using a ConditionalAccessExpression change how my extension method works?

I have an extension method that looks like this: public static bool DoesNotExist(this object toCheck) { return toCheck == null; } generally I use it like this: if(myObject.DoesNotExist()) { } I ...
0
votes
0answers
35 views

Super noobish prolog arithmetic

Very new to prolog. For a program I would like to say A1 = X1 + X2 + X3 + X4 to add up to 16. Also, I want to say that X1 must = 1. Note X1 to Xn are all permuted numbers from 1-9. I wrote the code ...
1
vote
1answer
34 views

How to compile this simple C++ code using `openmp`

Here is the code #include <omp.h> #include <stdio.h> int main() { #pragma omp parallel printf("Hello from thread %d, nthreads %d\n", omp_get_thread_num(), omp_get_num_threads()); }...
-1
votes
1answer
20 views

compile error in git: imap-send.c:1408: error: ‘CURLOPT_USERNAME’ undeclared

I wanted to install git into a serve in which I was just an user without "sudo" access. So I cannot use yum install git. I tried to download source code both from https://www.kernel.org/pub/software/...
2
votes
1answer
51 views

C++ function as parameter error

I'm trying to run a function on each node traversed in a Binary Search Tree class I made. Here is the function that traverses the nodes of the BST and runs the function passed in as an argument on ...
-5
votes
1answer
39 views

A couple of simple C++ errors that need fixing [on hold]

So I'm creating a virus-like program to practice my c++ (as i'm fairly inexperienced with it). However, There are a couple of errors that I need help with. The first being an error about one of my ...
-1
votes
0answers
18 views

duplicate symbol error from a global pointer on structure in C [duplicate]

I declared a global pointer on a structure in C in my header.h, who's protected by #ifndef HEADER_H #define HEADER_H #endif All my files include #include header.h and my Makefile compile including ...
0
votes
1answer
76 views

Swift Compiler Error Group

Sorry to post this again. But I really got lost in solving this bug in my Xcode. I am using Xcode Version 8.0 swift 3 , I have got this error when building the project: Command failed due to signal: ...