[Bug libstdc++/77459] [6/7 Regression] undefined reference to `snprintf' when building mingw-w64 cross-compiler

fdumont at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 7 21:31:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77459

--- Comment #6 from François Dumont <fdumont at gcc dot gnu.org> ---
Created attachment 39984
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39984&action=edit
Stop using __builtin_snprintf until __has_builtin is supported.

Could you try this patch ? Until we have __has_builtin support I propose to
simulate __builtin_snprintf with __builtin_sprint.


More information about the Gcc-bugs mailing list