I'm getting configure failures that appear to be caused by g++ not
returning status to the msys64 shell correctly.
For example:
checking whether plain char is signed... no
config.log shows:
configure:7042: checking whether plain char is signed
configure:7060: g++ -c -I/Msys2/msys64/include -I/Msys2/msys64/mingw64/include
-g -O2 -Wall conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:20:12: warning: variable 'test_array' set but not used
[-Wunused-but-set-variable]
static int test_array [1 - 2 * !(((int)(char)-1) < 0)];
^
configure:7060: $? = 0
configure: failed program was:
But g++ did not fail; it only reported a warning.
Running the same g++ command directly in the msys64 shell, followed by
'echo $?', gives 0. But adding 'echo $?' to the configure script gives
1. So something is different when run by the configure script.
Several similar tests are failing similarly, but others are passing.
--
-- Stephe
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users