help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] error: expected `,' or `...' before numeric constant


From: Nicola Sambo
Subject: Re: [Help-gsl] error: expected `,' or `...' before numeric constant
Date: Wed, 28 Jan 2009 16:59:17 +0100
User-agent: Mozilla Thunderbird 1.0.7 (X11/20060325)

Hi,

regarding the code there are many many files...

Anyway, I found a way to solve the problem. I found that if I included the lib file before another my file, it was fine. So,

if:
#include "myfile.h"
#include <gsl/gsl_linalg.h>

-> error

while:
#include <gsl/gsl_linalg.h>
#include "myfile.h"

-> ok

myfile.h includes many other files. Maybe is there a problem with another file that defines extern "C" ?


Thanks, regards,
Nicola



Frank Reininghaus wrote:

Hi,

please post your source code here. Without it, it's hard to tell what the problem is.

Cheers
Frank

On Tuesday 27 January 2009 19:02:50 Nicola Sambo wrote:
Here, I report the error when #include <gsl/gsl_linalg.h> is in my first
project:

/usr/local/include/gsl/gsl_linalg.h:56: error: expected `,' or `...'
before numeric constant



--

Ing. Nicola Sambo, Ph.D. student
Scuola Superiore Sant'Anna, Pisa, Italy
phone: +39-0505492118
fax: +39-0505492194





reply via email to

[Prev in Thread] Current Thread [Next in Thread]