0
PC-Lintのエラー番号を教えてもらえますか? 38例で...シンボル 'シンボル'のオフセットが矛盾しています
38 Offset of symbol 'Symbol' inconsistent (Location) -- A
member of a class or struct appears in a different
position (offset from the start of the structure) than an
earlier declaration. This could be caused by array
dimensions changing from one module to another.
私はaccess1
がClassX
で宣言された型の列挙型ACCESS
のメンバ変数である
Offset of symbol 'ClassX::access1' inconsistent (conflicts with line 92, file U:\ABC\ABCApp.h, module U:\ABC\ABCApp.cpp)
...のようなエラーを得続けます。その列挙型ACCESS
は別のヘッダーファイルaccess.h
で定義されています。 access.h
は、stdafx.h
に含まれています。
typedef enum
{
ACCESS_NONE = 0,
ACCESS_READ = 1
} ACCESS;
ここで何が問題なのかよく分かりません。不一致はどこですか?