Fix GCC noreturn compile error, bug1209.

This commit is contained in:
Wilson Snyder
2017-09-13 19:27:59 -04:00
parent 8c9ca7a1b3
commit 77804b4d38
4 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -161,11 +161,13 @@ public:
// OPERATORS
void v3errorEnd(ostringstream& str);
void v3errorEndFatal(ostringstream& str) VL_ATTR_NORETURN;
void v3errorEndFatal(ostringstream& str);
string warnMore() const;
inline bool operator==(FileLine rhs) const {
return (m_lineno==rhs.m_lineno && m_filenameno==rhs.m_filenameno && m_warnOn==rhs.m_warnOn);
}
private:
void v3errorEndFatalGuts(ostringstream& str);
};
ostream& operator<<(ostream& os, FileLine* fileline);