Top "Gcc-warning" questions

GCC is the GNU Compiler Collection, encompassing the gcc C compiler and the g++ C++ compiler, among others.

What's a proper way of type-punning a float to an int and vice-versa?

The code below performs a fast inverse square root operation by some bit hacks. The algorithm was probably developed by …

c++ undefined-behavior gcc-warning strict-aliasing type-punning
Boost.Regex with icu/unicode support

How to build Boost.Regex with icu/ unicode support? My compiler is GCC, and IDE is Eclipse C++. How to …

c++ boost unicode icu gcc-warning
strncat Wformat-overflow warning when using gcc 8.2.1

I'm using gcc 8.2.1 and trying to build this code: std::string dir = "Documents"; char * _tempname = static_cast <char*> (…

c++ string gcc gcc-warning gcc8