GCC is the GNU Compiler Collection, encompassing the gcc C compiler and the g++ C++ compiler, among others.
I recently stumbled across the following behaviour of gcc 3.2.2 writing a c program: In an if statement I forgot the …
c gcc-warningUsing the following command gcc -c -Wall -Wextra -pedantic -ansi -std=c99 -fstack-protector-all -fstack-check -O3 root.c -o rootTESTOBJECT I …
gcc gcc-warningI am using C99 under GCC. I have a function declared static inline in a header that I cannot modify. …
c gcc gcc-warning noreturnI'm finding __attribute__ ((warn_unused_result)) to be very useful as a means of encouraging developers not to ignore error …
c++ c visual-c++ gcc gcc-warningIn the software project I'm working on, we use certain 3rd party libraries which, sadly, produce annoying gcc warnings. We …
c++ gcc include suppress-warnings gcc-warningI'm trying to compile and run following program without main() function in C. I have compiled my program using the …
c gcc segmentation-fault main gcc-warninggcc doesn't seem to produce a warning with the following code. How can I get it to produce a warning? …
gcc enums gcc-warningThe man page of gcc 6.3 says: --wrap=symbol Use a wrapper function for symbol. Any undefined reference to symbol will …
c++ c gcc gcc-warning linker-flagsThe newer versions of gcc offer the Wimplicit-fallthrough, which is great to have for most switch statements. However, I have …
c gcc c99 gcc-warningI understand that gcc has an option -Wcast-align which warns whenever a pointer is cast such that the required alignment …
c memory-alignment gcc-warning typecasting-operator