Top "Gcc-warning" questions

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

warning: incompatible implicit declaration of built-in function ‘xyz’

I'm getting a number of these warnings when compiling a few binaries: warning: incompatible implicit declaration of built-in function ‘strcpy’ …

c gcc gcc-warning
How do I best silence a warning about unused variables?

I have a cross platform application and in a few of my functions not all the values passed to functions …

c++ gcc warnings gcc-warning
How to suppress "unused parameter" warnings in C?

For instance: Bool NullFunc(const struct timespec *when, const char *who) { return TRUE; } In C++ I was able to put …

c gcc gcc-warning
C warning implicit declaration of function 'exit'

This is my warning. implicit declaration of function 'exit' How i can remove it. i am using linux & gcc …

c gcc-warning
How to resolve: "cast to pointer from integer of different size" warning in C code?

I am removing gcc warnings from a legacy code. Is it possible to suppress the warning "cast to pointer from …

c pointers gcc-warning
Warning: cast to/from pointer from/to integer of different size

I'm learning Pthreads. My code executes the way I want it to, I'm able to use it. But it gives …

gcc int void-pointers gcc-warning
Pedantic gcc warning: type qualifiers on function return type

When I compiled my C++ code with GCC 4.3 for the first time, (after having compiled it successfully with no warnings …

c++ constants gcc-warning
gcc warning: braces around scalar initializer

I have look-up-table as defined below and I'm making use of GCC. When I compile I get warnings as warning: …

c lookup-tables gcc-warning
How to turn on (literally) ALL of GCC's warnings?

I would like to enable -- literally -- ALL of the warnings that GCC has. (You'd think it would be …

c++ gcc warnings compiler-warnings gcc-warning
Disable warnings being treated as errors(cc1.exe)

I am developing a brew app. When compiling the app to get MOD file, I am continuously getting this error …

gcc gcc-warning brew-framework