compiler-warnings
Eclipse Javadoc Compiler Warnings from Command Line
I recently moved from Eclipse to another IDE. One thing I\'m really missing is configurable compiler warnings for various Javadoc problems.[详细]
2023-02-19 21:09 分类:问答Are there real life cases when C4930 Visual C++ warning doesn't indicate an error?
Visual C++ can emit C4930 \"unused function prototype\" warning in the following case: void SomeUsefulFunction()[详细]
2023-02-19 08:32 分类:问答Are there Fortran compiler options for warning about write-after-write conflicts?
Let\'s say you have the following code: INTEGER :: num_samples num_samples = 10000 num_samples = 1 Obviously, the first num_samples = 10000 does nothing, and its existence probably indicates a prog[详细]
2023-02-19 05:57 分类:问答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 分类:问答Java Generics, how to avoid unchecked assignment warning when using class hierarchy?
I want to use a method using generic parameters and returning generic result on a class hierarchy. edit: no SupressWarnings(\"unchecked\") answer allowed :-)[详细]
2023-02-17 09:10 分类:问答What's the point of issuing a compiler warning for "while(true)" and not issuing one for "for(;;)"?
When I compile C++ code with Visual C++ 9 with \"warning level 4\" the following: while( true ) { //loop body with break on certain condition[详细]
2023-02-16 12:06 分类:问答How to ignore compiler warning when using Obsolete attribute on a class used with a KnownType attribute
So we are trying to deprecate some of our existing classes, and have started marking them as obsolete with the ObsoleteAttribute so they will stop being used.The fact that using the KnownType attribut[详细]
2023-02-16 11:03 分类:问答Enable C++ compiler warning for missing XML documentation
When XML documentation is enabled for my C++ projects (managed) the compiler does not raise any warnings for missing comments.[详细]
2023-02-14 08:18 分类:问答Eclipse (Java): Central "treat warnings as errors"
Is there a way to enable treat \"treat warnings as errors\" (or something similar that has the same effect) from a central location in eclipse?[详细]
2023-02-12 23:17 分类:问答How do I know if a Delphi function is going to be inlined?
When you mark a function as inline, you hint the compiler that this function is a candidate for inlining. The compiler can still decide that it\'s not a good idea, and ignore it.[详细]
2023-02-11 22:25 分类:问答