I got this compiler error, what is the problem? public PictureBox getinfo(int i, int j) { return grid[i, j];
I noticed that if I use generics on a method signature to accomplish something similar to co-variant return types, it works like I think it would, except it generates a warning:
I am refactoring a little bit of code and I think I have created so开发者_JAVA技巧me instance variables that are being hidden(shadowed) in older methods.I want to see a warning wherever the hiding(sha
Mono is throwing the warning: warning CS0414: The private field \'Convergence.Core.Services.PermissionService.userService\' is assigned but its value is never used
Once in a while it\'s difficult to write C++ code that wouldn\'t emit warnings at all. Having warnings enabled is however a good idea. So it is often necessary to disable warnings around some specific
question: How does Xcode generate the list of framework directories (-F flags in the call to ld) when building a Cocoa app? I keep getting a warning for an old directory which (I think) I have remove
My current code resembles this: enum Enum1 : signed __int8 { Value1 = 1 , Value2 = 2 , Value3 = -3// C4341
I have a class called PointF and it has a constructor that takes a Point, and I keep getting \"possible loss of data warnings\". How can I show that my intention is in fact to make a float value into
I can\'t seem to get rid of this warning fo开发者_开发百科r the following line of code: d.word[wrdIndex++] = d.GetWord(english) | (ulong)i;
Some people seem to advise you use -Wall, but when I did it on a small test project which just has a main.cpp with some includes, I get 5800 warnings most of them in standard headers or in windows hea