[Top][All Lists]

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

[Help-gsl] delete function generates an error in movstat.h

From: Montezano, Daniel
Subject: [Help-gsl] delete function generates an error in movstat.h
Date: Sat, 14 Jul 2018 01:31:48 +0000


I am trying to compile an example from the docs. Compute a rolling mean using 
the new package Moving Window Statistics.

My code is producing the following error (Windows 10, GCC-6.3.0-1, 
GSL 2.5):

> g++ gsl_rolling_stats.cpp -lgsl -o gsl_rolling_stats.exe
>  In file included from gsl_rolling_stats.cpp:11:0:
>  c:\documents\progrs\mingw32\include\gsl\gsl_movstat.h:58:9: error: expected
>  unqualified-id before 'delete'
>  int (*delete) (void * vstate);
>       ^~~~~~
>  c:\documents\progrs\mingw32\include\gsl\gsl_movstat.h:58:9: error: expected
>  ')' before 'delete'

I compiled GSL compiled from source using MinGW and msys. I have tested my GSL 
installation with other GSL code and everything is working fine.

I appreciate any help.

Thank you!


reply via email to

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