[adlint-user-ja:98] failed to parse preprocessed file.
Open source and free source code static analyzer
Brought to you by:
asamiogis
From: <ka...@wh...> - 2015-03-17 09:39:29
|
いつもお世話になっています。 小川清@名古屋市工業研究所です。 Adlintを昨日, Macintosh OSX 10.10.2(16GB memory) にダウンロードして、利 用2日目です。 昨日Webに掲載している例で動作確認しました。 今日は、自分が担当しているオープンソースのTOPPERS/sspを確認しようとして 操作しています。 http://toppers.jp/download.cgi/ssp_cq_frk_fm3_gcc-20140307.tar.gz 作業記録の一部は、 https://researchmap.jp/jo4a9svxt-1778110/#_1778110 に書きかけています。 logファイルに、 failed to parse preprocessed file. というエラーが出て先に進めません。 MLの過去ログを見ても該当する事項がなく、 WEB検索でも出てきませんでした。 ------------------ファイルの記述は、先頭のコメントを除くと、 #ifndef TOPPERS_CHIP_TEST_H #define TOPPERS_CHIP_TEST_H /* * チップで共通な定義 */ #define CPUEXC1 6 /* Usage Fault */ #define RAISE_CPU_EXCEPTION Asm("mcr p15, 0, r1, c2, c0, 0"); #define CANNOT_RETURN_CPUEXC #endif /* TOPPERS_CHIP_TEST_H */ ----------というものです。 このファイルに限らず、一つ前で他にincludeするものがないヘッダファイルを 読み込むと、 同じエラーで終わります。 ファイルのopen,文字コードなどのエラーはなんとか回避しました。 何から手をつけたらいいか、ご教示いただけると幸いです。 ps. Rubyは、昨年の暮れから、文字列処理などで利用しはじめたばかりです。 |