迷惑な問題を示すコードを次に示します。
class A {
public:
A():
m_b(1),
m_a(2)
{}
private:
int m_a;
int m_b;
};
これは、コンソールビューでの出力です。
make all
Building file: ../test.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"test.d" -MT"test.d" -o"test.o" "../test.cpp"
../test.cpp: In constructor 'A::A()':
../test.cpp:9: warning: 'A::m_b' will be initialized after
../test.cpp:8: warning: 'int A::m_a'
../test.cpp:3: warning: when initialized here
Finished building: ../test.cpp
問題は、[問題] ビューに 3 つの個別の警告 (警告ワードを含む出力の行) が表示されることですが、実際には 1 つの問題を説明する出力に 4 行あります。
足りないものはありますか?
追加の質問。多分それはEclipseの精神にありますが、ほとんどのIDE(Visual Studio、emacsなど)のようにコンソールビューをクリック可能にする方法はありますか.
ありがとうディマ