Re: Combo GCC issues with bugs

2019-08-03 Thread Denis Vnoukov
Yes, gcvt is legacy. But there is no one Linux distribution which has no gcvt in the world. Moreover gcvt present into MSVC, Intel C, mingw, etc.. It is true to have gcvt with right declaration. FD_ZERO(&read_fd); <== with -Wold-style-cast produced real bogus and suspicious warning which looks lik

Combo GCC issues with bugs

2019-08-02 Thread Denis Vnoukov
Code Example: #include #include #include #include #include #include int main() { // https://github.com/msys2/MSYS2-packages/issues/1711 char buf[50]; char * str = gcvt(3.141592653589793238462643383279502884197169399375, 49, buf); printf("buffer: %s", str);// https://github.com/msys2/MSYS2-pac