pclint を実行すると、インクルード ヘッダーが c/c++ ファイルで定義される順序に問題が見つかりました。
インクルードオーダーは、
#include <sys/timerfd.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <fcntl.h>
#include <termios.h>
#include <errno.h>
#include <stdarg.h>
#include <string.h>
そして、pclint を実行すると、たとえば FILE が宣言されていないなどのエラーが発生します。
後でインクルードの順序を変更しました
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <fcntl.h>
#include <termios.h>
#include <errno.h>
#include <stdarg.h>
#include <string.h>
#include <sys/timerfd.h>
多くのエラーがなくなっていることがわかりました。この動作の理由を理解できません。C/C++ (NT) バージョンでは PC-lint を使用しています。8.00w。
インクルード パスを +libdir(D:\timesys\Nitrogen6x\toolchain\include) のようにマークしました。
ブリジェシュありがとう