gcc-warning
Why doesn't GCC produce a warning when assigning a signed literal to an unsigned type?
Several questions on this website reveal pitfalls when mixing signed and unsigned types and most compilers seem to do a good job about generating warnings of this type.However, GCC doesn\'t seem to ca[详细]
2022-12-29 00:07 分类:问答Conflicting PACKAGE_NAME and other macros when using autotools
When using autotools (with a config.h file) for both a library, and a software built on that library, the compiler complains about a redefinition of some macros (PACKAGE_NAME, PACKAGE_TARNAME and so o[详细]
2022-12-26 03:10 分类:问答I have a following gcc compilation warning
symbol.h:179: note: expected ‘uintptr_t *’ but argument is of type ‘PRECEDENCE’ The corresponding code is :[详细]
2022-12-23 03:10 分类:问答I have having following warning in gcc compilation in 32 bit architecture but not having any such warning in 64 bit architecture
symbol.c: In function \'symbol_FPrint\': symbol.c:1209: warning: format \'%ld\' expects type \'long int\', but argument 3 has type \'SYMBOL\'[详细]
2022-12-22 10:58 分类:问答C warning implicit declaration of function 'exit'
This is my w开发者_如何学Carning. implicit declaration of function \'exit\' How i can remove it.[详细]
2022-12-22 03:25 分类:问答C/GCC Warnings - Write once and test everywhere?
I\'m writing a command line program in ANSI C to parse a Quake 2 map file to report how many entities and textures are being used.My development machine is MacBook.I\'m testing on OS X Snow Leopard (3[详细]
2022-12-21 05:57 分类:问答How to suppress GCC warnings from library headers?
I have a p开发者_JS百科roject that uses log4cxx, boost, etc. libraries whose headers generate lots of (repetitive) warnings. Is there a way to suppress warnings from library includes (i.e. #include &l[详细]
2022-12-13 17:13 分类:问答