Open alaingdl opened 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
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
I'm seeing this on Fedora as well.
_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