-----Original Message----- From: [email protected]
Sent: Tuesday, December 06, 2016 11:09 AM
To: [email protected] ; Patrick Alken
Subject: Re: [Help-gsl] test release for GSL 2.3

On MS Windows, using gcc, I reported:

###########################################

=========================================
   gsl 2.2.90: spmatrix/test-suite.log
=========================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test
==========

gsl: spio.c:178: ERROR: fscanf failed reading header
Default GSL error handler invoked.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

###########################################

Adding 'CC="gcc -D__USE_MINGW_ANSI_STDIO"' to the configure args fixes the problem, and the spmatrix test then passes.

I'm thinking it's the "%lg" in 'gsl_spmatrix_fprintf(f, A, "%lg");' in spmatrix/test.c that needs __USE_MINGW_ANSI_STDIO to be defined.
(But if that doesn't make sense, then it might be something else ;-)

Cheers,
Rob

Reply via email to