This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]