Re: [Mingw-w64-public] _FORTIFY_SOURCE support ?

2019-08-26 Thread Christian Franke
Liu Hao wrote: ... Thanks for your extensive work. The patch looks mostly good. Thanks. Meantime I found out that libssp.a actually provides __mem*_chk() and __str*_chk(), so __builtin___*_chk() could be used instead of manual checks. This makes string.h straightforward. This also re-enables

Re: [Mingw-w64-public] _FORTIFY_SOURCE support ?

2019-08-26 Thread Liu Hao
在 2019/8/26 13:35, Christian Franke 写道: >>> >>> The patch also shows how varargs *printf() wrappers could be rewritten >>> if compiler supports __builtin_va_arg_pack(). >>> >>> Thanks for any comment. >>> >> Thanks for the interesting patch, do you know what needs to be changed >> in GCC? >> > >