compiler-warnings
Java: properly checked class instantiation using reflection
I\'m trying to use one of the simplest forms of reflection to create an instance of class: package some.common.prefix;[详细]
2023-02-25 13:54 分类:问答Clearing out Function Hiding compiler warnings in C++
I\'m getting \"hiding\" warnings in my compiler because a class inherits from its parent has the same name but different parameters.[详细]
2023-02-23 05:49 分类:问答Can GCC not complain about undefined references?
Under what situation is it possible for GCC to not throw an \"undefined reference\" link error message when trying to call made-up functions?[详细]
2023-02-22 19:41 分类:问答gcc warning: function used but not defined
I am getting the warning: function used but not defined. I have static __inline__ in header file say a.h. The header file is included in a.c. I would like put all those inline function which are in he[详细]
2023-02-21 21:25 分类:问答WPF Dynamic Resource: Warning Message - "The resource 'resource' could not be resolved."
Basically, I have a UserControl that uses a DynamicResources. The application compiles and runs fine using that resource, but it\'s a bit annoying to see this warning message. It makes me wonder if I\[详细]
2023-02-21 10:20 分类:问答Compiler warning - suggest parentheses around assignment used as truth value
When I try to compile the piece of code below, I get this warning: warning: suggest parentheses around assignment used as truth value[详细]
2023-02-21 02:53 分类:问答Is there a workaround for this C4702 link-time warning?
I\'m using boost::variant and am having trouble compiling in release mode. I am working in VC2010 with warning level 4 and warnings as errors. The code below compiles fine in debug mode, but in releas[详细]
2023-02-21 01:43 分类:问答Selectively disable GCC warnings for only part of a translation unit
What\'s the closest GCC equivalent to this MSVC p开发者_StackOverflow中文版reprocessor code? #pragma warning( push )// Save the current warning state.[详细]
2023-02-20 12:45 分类:问答Functions that do nothing and compiling with Level 4 warnings
Sometimes you have a class that is designed to be inherited, but not a开发者_如何学编程ll its functions are expected to be used all the time. Therefore, to make for more readable and easier to maintai[详细]
2023-02-19 22:44 分类:问答How can I get rid of an "unused variable" warning in Xcode?
I understand exactly why unused variable warnings occur. I don\'t want to suppress them in开发者_运维百科 general, because they are incredibly useful in most cases. However, consider the following (co[详细]
2023-02-19 22:02 分类:问答