compiler-errors

What is a specifier-qualifier-list?

GCC likes to tell me that I'm missing a specifier-qualifier-list in its error messages. I know that this means I didn't put in a correct type of something. But what exactly is a specifier-qualifier-list? Edit: Example C code that causes this: #include <stdio.h> int main(int argc, char **argv) { struct { undefined_type *foo; } b...

Adding Parsekit To An Xcode Project

I am trying to add the Parsekit framework to my OSX Xcode project. I've never added a 3rd party framework before and I can't get it to work right. I dragged the included Xcode project into my 'Groups & Files' pane and chose to Add it to my project. I then dragged Parsekit.framework underneath the Link Binary With Libraries heading. Then...

Compilation problem in the standard x86_64 libraries

Hi everyone, I am having trouble compiling a program I have written. I have two different files with the same includes but only one generates the following error when compiled with g++ /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/crt1.o: In function `_start': /build/buildd/eglibc-2.10.1/csu/../sysdeps/x86_64/elf/start.S:109: und...

Visual Studio 2005 Error

Im currently debugging a webservice written in visual studio 2005, however when i build it, it has an error but it did not specify anything Error 1 The specified module could not be found. (Exception from HRESULT: 0x8007007E) error message can be seen here Badly needed your help. Thank you ...

Java programming accessing object variables

Helo, there are 3 files, CustomerClient.java, CustomerServer.java and Customer.java PROBLEM: In the CustomerServer.java file, i get an error when I compile the CustomerServer.java at line : System.out.println(a[k].getName()); ERROR: init: deps-jar: Compiling 1 source file to C:\Documents and Settings\TLNA\My Documents\NetBea...

Project management: Implementing custom errors in VS compilation process

AGAIN: If you're voting -1, please leave a comment explaining why. This post isn't about whether or not you approve if this approach, but how to go about it. Like many architects, I've developed coding standards through years of experience to which I expect my developers to adhere. This is especially a problem with the crowd that beli...

Parser output sqlplus for get errors using C#

Hi all, I need parser the output of sqlplus, for get list of errors of compilation of sql files, using C# Any sample, please ?? Thanks in advanced. Greetings ...

Problem with pageFetcher

Hello, I use this code for(int i = 0; i < citylink.length; i++) { body=pF.fetchpage(citylink[i][1]); // It's for taking the url from the table citylink // and returns the source of this url! I have also declared it in my pagefetcher.java class like this: public String fetchPage(String url) { try { url = URIUti...

What do these errors mean? ISOC++ forbids assignment of arrays...

I'm trying to compile some code on one of our systems for our DBA...I've edited the makefiles to include the pertinent libraries listed in the documentation, but I keep getting these errors... Can you discern any obvious problems from my command lines in reference to the errors listed? Thank you! make -f /u01/app/banner/ban8/TEST3/link...

GCC doesn't like C++ style casts with spaces

I am porting some C++ code to GCC, and apperantly it isn't happy with C++ style casting when sapces are involved, as in unsigned int(-1), long long(ShortVar) etc... It gives an error: expected primary-expression before 'long'. Is there any way to make peace with GCC without going over each one of those and rewrite in c-style? ...

List of all gcc diagnostics

I need a link to a webpage that lists all the error messages and warnings GCC can show; the actual messages, not descriptions. It would be preferable if the list is in the order of most frequently encountered diagnostics. ...

F# 2.0 with Powerpack 2.0, fslex error 1

In namespace RSLispV3.RunTime: http://pastebin.com/XNb9qi11 LispParser.fsy: http://pastebin.com/pymF1Vvm LispLexer.fsl: http://pastebin.com/pfXdDuxs I got in MSBuild the PowerPacks targets, calling them from the .fsprog. When building with VS2008 I get error: "fslex.exe" exited with code 1. Help? ...

Crazy errors with FsLex and FsYacc

I am trying to compile this project: http://ramon.org.il/Here.zip But I get a bunch of non-sense errors. They got text I am familiar with, but in the position there is nothing like that (like unexpected ')' at an empty row). Help me, please! ...

C++: Can't use std::wstringstream

For some reason, my project won't compile when I try to create a wstringstream: std::wstringstream stringstream; This causes error C2079: 'stringstream' uses undefined class 'std::basic_stringstream<_Elem, _Traits, _Alloc> with [_Elem=wchar_t, _Traits=std::char_traits, _Alloc=std::allocator' What am I doing wrong? ...

Code crashing compiler: main() returning a struct instead of an int

Hi! I'm experimenting with a piece of C code. Can anyone tell me why is VC 9.0 with SP1 crashing for me? Oh, and the code is meant to be an example used in a discussion why something like void main (void) is evil. struct foo { int i; double d; } main (double argc, struct foo argv) { struct foo a; a.d=0; a.i=0; re...

Make Visual Studio to show All Compile Errors!

Visual studio does not show all the compile errors at once. for example one time it says I have two errors and when I fix them then 102 more compile errors are showing up and these new errors are not dependent on those two previous errors. How can we tell it to go through all the code and show all compile errors at once ...

Expected class name before ',' or ';'

Hi All, I am getting an "Expected class-name before , or ; and I dont quite get how to fix it. Here is where the error is: class FXHost : public CPLAT::CP_Application, public CPLAT::CP_M_Listener { The file is FXHost.h and CPLAT:: is obviously a namespace where CP_Application and CP_M_Listener are. I dont see why this would be w...

How to get informative compile error messages when using flexmojos-maven-plugin?

I'am using flexmojos-maven-plugin to build my Flex module. So on the compile phase I'm getting org.apache.maven.plugin.MojoExecutionException: Error compiling! with no information on where (at what source file) the error happens and what is nature of the compile error. I'll appreciate if anyone can instruct me on how to make flexm...

Does SQL Server Management Studio (or SQL Server) evaluate *all* expressions?

Here's my configuration: I have a re-runnable batch script that I use to update my database. Inside of that batch script, I have code that says the following: If Table 'A' doesn't exist, then create Table 'A' and insert rows into it. Later on in that batch script, I create an schemabound indexed view on that table. And if you didn't...

C++: Syntax error C2061: Unexpected identifier

What's wrong with this line of code? bar foo(vector ftw); It produces error C2061: syntax error: identifier 'vector' ...