[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] delete function generates an error in movstat.h
From: |
Patrick Alken |
Subject: |
Re: [Help-gsl] delete function generates an error in movstat.h |
Date: |
Sun, 15 Jul 2018 22:39:42 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Can you provide your source code?
On 07/13/2018 07:31 PM, Montezano, Daniel wrote:
> Hi,
>
> 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, MinGW.org 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!
>
> Daniel