Re: Assertion error when building in Debug mode with MSVC

2022-01-31 Thread Julien Marrec
py#L54-L61 Basically it passes conf args `["gl_cv_func_printf_directive_n=no", "gl_cv_func_snprintf_directive_n=no", "gl_cv_func_snprintf_directive_n=no"]`. Perhaps you could default the same directly when MSVC is encountered? Best, Julien -- Julien Marrec, EBCP, BP

Re: Assertion error when building in Debug mode with MSVC

2022-01-26 Thread Julien Marrec
installed and MSVC 2019, this command should do it conan install m4/1.4.19@#7bf4b7de37a545f40f65aeb26e4f135f -b m4 -s arch=x86_64 -s arch_build=x86_64 -s build_type=Debug -s compiler="Visual Studio" -s compiler.runtime=MD -s compiler.version=16 -s os=Windows -s os_build=Windows Best, Julien

Re: Assertion error when building in Debug mode with MSVC

2022-01-25 Thread Julien Marrec
fail = (fclose (stream) != 0); @@ -69,10 +70,12 @@ close_stream (FILE *stream) if (prev_fail || (fclose_fail && (some_pending || errno != EBADF))) {- if (! fclose_fail)+ if (! fclose_fail) { errno = 0;+stream = NULL;+ } return EOF; } + } re