grass icon indicating copy to clipboard operation
grass copied to clipboard

[Feat] MSVC positional argument support in printf

Open marisn opened this issue 5 months ago • 0 comments

Since C99 all modern/POSIX printf implementations do support positional arguments. MSVC compiler and its libc printf implementation does not support positional arguments. MSVC provides a separate set of functions that do implement positional arguments (see MSVC documentation). To enable MSVC support, we should change all message functions (e.g. G_message) to use MSVC ones when compiled with MSVC and current POSIX version for the rest.

marisn avatar May 21 '25 15:05 marisn