gcc-warning
How to enable a specific gcc warnings for a specific directory or file? [duplicate]
This question already has answers here:开发者_运维知识库 Closed 11 years ago. Possible Duplicate:[详细]
2023-03-12 22:54 分类:问答How can I suppress g++ deprecation warnings in OCaml compilation when linking with C++ libraries?
When compiling an OCaml project which links against libraries requiring the C++ standard library (e.g. LLVM\'s OCaml bindings) using the -cc g++ argument to 开发者_运维问答ocamlc with GCC >= 4.4 gener[详细]
2023-03-06 11:30 分类:问答Error on char array declaration in GCC 3.3.4 [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-03-04 18:42 分类:问答Code::Blocks - warnings disappear when running program
I\'m using Code::Blocks 10.05 (currently on Windows). When I run the program (Ctrl + F10), all the warnings in the build log disappear, so the first line is \"Checking for existence...\".[详细]
2023-02-18 19:15 分类:问答Is exit() function declared anywhere else besides stdlib.h?
When trying to compile the example below, I received a warning: >gcc -o file file.c file.c: In function ‘main’:[详细]
2023-02-16 20:06 分类:问答enforing check about returning a value in gcc
I am 开发者_如何学Ccompiling some C/C++ files using gcc. I noticed today a bug that caused my app to crash. It was caused by the fact that my function didn\'t return any value (see below). Do you kno[详细]
2023-02-10 04:38 分类:问答Trying to overcome these 6 g++ errors
These are the errors/warnings that g++ is putting out and below each is the relevant code. Any help with clearing these errors up or shedding some light on them would be greatly appreciated. Thank you[详细]
2023-02-09 15:29 分类:问答Getting the warning " ISO C90 forbids variable-size array" in gcc compiler while compiling C90 code
I am compiling my C90 c code in gcc . I am getting the warningISO C90 forbids variable-size array while making the declaration like[详细]
2023-02-06 01:41 分类:问答How to make gcc warn about passing wrong enum to a function
gcc doesn\'t seem to produce a warning with the following code. How can I get it to produce a warning?[详细]
2023-02-04 01:03 分类:问答Implicit declaration when using a function before it is defined in C, why can't the compiler figure this out?
As the title says, I know what causes this error but I want to know why the compiler gives it in this circumstance.[详细]
2023-02-03 04:33 分类:问答