Add -Wall; move VARHIDDEN to style warnings

This commit is contained in:
Wilson Snyder
2010-12-25 15:28:13 -05:00
parent 323c96f42f
commit 285277a50b
6 changed files with 29 additions and 17 deletions
+3 -2
View File
@@ -128,10 +128,11 @@ public:
|| m_e==IMPLICIT
|| m_e==LITENDIAN
|| m_e==UNDRIVEN || m_e==UNSIGNED
|| m_e==UNUSED || m_e==VARHIDDEN
|| m_e==UNUSED
|| m_e==WIDTH); }
// Warnings that are style only
bool styleError() const { return ( m_e==DEFPARAM); }
bool styleError() const { return ( m_e==DEFPARAM
|| m_e==VARHIDDEN ); }
};
inline bool operator== (V3ErrorCode lhs, V3ErrorCode rhs) { return (lhs.m_e == rhs.m_e); }
inline bool operator== (V3ErrorCode lhs, V3ErrorCode::en rhs) { return (lhs.m_e == rhs); }