help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] test release for GSL 2.2


From: Patrick Alken
Subject: Re: [Help-gsl] test release for GSL 2.2
Date: Fri, 26 Aug 2016 15:05:15 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2

I believe %zu is part of the C99 standard. I'm not sure how to make it portable for C90 on windows, any ideas?

On 08/26/2016 02:55 PM, maxgacode wrote:
Il 25/08/2016 17:32, Patrick Alken ha scritto:
Dear all,

  It is time to release the next version of GSL (2.2),


Windows 7 - 64 bit - MINGW64 - GCC 6.1.0

Using


CFLAGS="-mfpmath=sse -msse2 -O2 -mthreads -DHAVE_INLINE -DGSL_DISABLE_DEPRECATED -DGSL_RANGE_CHECK=0 -D__USE_MINGW_ANSI_STDIO=1"


Compilation OK
make check OK - all passed
documentation not builded (so far) because texinfo is not installed.

Please, MINGW user, note

The source code in spio.c (spmatrix) is using the modifier %zu in stdio functions. MINGW is not supporting %zu because the used Microsoft runtime libray doesn't.

So it is required to use

-D__USE_MINGW_ANSI_STDIO=1

to pass the spmatrix testing forcing the ANSI STDIO. Otherwise the related testing will fail!

I don't know if Windows users with Visual Express are affected. As far as I know %zu is just supported from Express 2015 onwards (2013 is not supporting %zu)

Hope this helps

Max






reply via email to

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