gnudatalanguage / gdl

GDL - GNU Data Language
GNU General Public License v2.0
276 stars 61 forks source link

test_binfmt on 32b #332

Open alaingdl opened 6 years ago

alaingdl commented 6 years ago

_testbinfmt is OK on IDL 32b, not with GDL on a 32b machine.

IDL> print,!version { x86 linux unix linux 7.0 Oct 25 2007 32 64} IDL> test_binfmt

(no message, ok)

GDL> print, !version { i686 linux unix linux 8.2 May 5 2018 32 64} GDL> test_binfmt % Compiled module: TEST_BINFMT. % TEST_BINFMT: string(-255ll, format='(B)', print=0) != '1111111111111111111111111111111111111111111111111111111100000001' (' 11111111111111111111111100000001') % TEST_BINFMT: string(-255ll, format='(B)', print=1) != '1111111111111111111111111111111111111111111111111111111100000001' (' 11111111111111111111111100000001') % TEST_BINFMT: 2 tests failed

slayoo commented 6 years ago

see also: https://github.com/gnudatalanguage/gdl/issues/261

worth noting: on 32-bit Windows on Appveyor this tests fails only after adding the -std=c++98 flag

opoplawski commented 6 years ago

I'm seeing this on Fedora as well.