Page MenuHomePhabricator

Windows build with meson : define __USE_MINGW_ANSI_STDIO for all the projects to have a posix *printf functions
Closed, ResolvedPublic

Description

On windows, the *printf family functions do not follow the POSIX formats (I64 instead of ll, etc...). MinGW defines these functions in a posix way if USE_MINGW_ANSI_STDIO is defined for all files (add add_global_arguments('-DUSE_MINGW_ANSI_STDIO', language: lang) around line 123 of toplevel meson.build)

vtorri created this task.Mar 17 2019, 12:27 PM
vtorri triaged this task as Normal priority.
vtorri closed this task as Resolved.Mar 22 2019, 1:47 PM