't-locale' test build failure using MinGW-W64

sav_ix at ukr.net sav_ix at ukr.net
Sat Jan 2 06:51:44 UTC 2016


    Hi, 
  

--- Исходное сообщение --- 
От кого: "Marc Glisse" <marc.glisse at inria.fr> 
Дата: 1 января 2016, 23:23:07 

IIUC, the goal is for the test to end up in

   printf ("Test skipped, replacing localeconv/nl_langinfo doesn't work\n");

if replacing localeconv is disabled on that platform? That seems sensible 
since the platform won't let us test what we want, and it is certainly 
better than failing to compile.

-- 
Marc Glisse 
As I understand, the source of all 'localeconv' troubles using MinGW(-W64) is that compiler has its own implementation in 'locale.h': 

  _CRTIMP struct lconv *__cdecl localeconv(void); 

But if all MinGW* compilers has its own 'localeconv' implementation and if my patch concerns only MinGW*, for what cases would work "printf ("Test skipped, replacing localeconv..."? 



Regards, 

Alexander 



More information about the gmp-bugs mailing list