compiler-warnings
iOS and libxml compiler warning question
I\'m loading some xml from a file... here\'s a snippet of the file: <root> <person> <age>99</age>[详细]
2023-03-11 04:52 分类:问答Is there an equivalent of gcc's -Wshadow in visual C++
-Wshadow will \"Warn whenever a local variable shadows another local variable.\". Is there an equivalent in V开发者_开发百科isual C++ (2008)? I tried /W4 but it didn\'t pick up on it. I also tried Cpp[详细]
2023-03-10 08:08 分类:问答Can you show compiler warnings for error:nil?
Is there a compiler setting that can warn about these? Currently I\'m reviewing code and putting in #warning don\'t use error:nil whenever I see them.[详细]
2023-03-09 22:21 分类:问答Delphi Embarcadero XE: tons of warnings with String and PAnsiChar
I\'m trying to migrate from Delphi 2007 to Embarcadero RAD Studio XE. I\'m getting tons of warnings. They all look like this: I have a procedure where I declare a \"String\":[详细]
2023-03-09 20:18 分类:问答g++ warning when using optional 'struct' keyword
If I write this program: #include <iostream> namespace foo { struct bar 开发者_高级运维{ int x;[详细]
2023-03-09 17:23 分类:问答How to @suppress multiple warnings with Closure Compiler?
It\'s possible to suppress warnings on a per-file basis with Google\'s Closure Compiler via the @suppress annotation.However, it doesn\'t seem to be possible to suppress multiple warnings at the same[详细]
2023-03-09 00:37 分类:问答Good approaches to enforce building with increased warning level for new C++ code
I\'ve inherited a large C++ codebase for several Windows applications that successfully is in use by many customers.[详细]
2023-03-06 16:27 分类:问答Compiler does not warn when dereferencing nullptr
This: 开发者_如何学JAVAint* p = nullptr; auto tmp = *p; doesn\'t cause neither gcc 4.6 nor VS2010 sp1 to issue at least a warning. Is there any option in any of those compilers to make them issue a[详细]
2023-03-03 15:27 分类:问答C warning: implicit declaration of function ‘fchmod’
I have a function, createFile that uses fchmod: int createFile(char *pFileName) { int ret; if ((ret = open(pFileName, O_RDWR | O_CREAT | O_TRUNC)) < 0)[详细]
2023-03-03 06:19 分类:问答C MySQL API compiler warning problem with redefinition while including header files
I am compiling a simple c program to test the including of the library files on eclipse cygwin environment mysql-connector-c-6.0.2[详细]
2023-02-28 21:05 分类:问答