小さい頃はエラ呼吸

いつのまにやら肺で呼吸をしています。


2014-08-24から1日間の記事一覧

【cppcheck】error: Memory is allocated but not initialized: xxx

C++

はじめに C++の静的解析ツール「cppcheck」でソースコードを静的解析した場合に、以下の警告がでることがあります。 error: Memory is allocated but not initialized: xxx cppcheckのバージョン v1.66 サンプルプログラム 以下のソースプログラムを解析にか…

【cppcheck】(warning) %d in format string (no. 1) requires 'int' but the argument type is 'ULONG {aka unsigned long}'.

C++

はじめに C++の静的解析ツール「cppcheck」でソースコードを静的解析した場合に、以下の警告がでることがあります。 (warning) %d in format string (no. 1) requires 'int' but the argument type is 'ULONG {aka unsigned long}'. cppcheckのバージョン v1…