Subject: | Compile error with gcc at "assert" |
I get this error when building against Perl 5.8.0 with gcc-3.3:
VPreproc.cpp: In member function `void VPreprocImp::parsingOn()':
VPreproc.cpp:94: error: `assert' undeclared (first use this function)
VPreproc.cpp:94: error: (Each undeclared identifier is reported only once for each function it appears in.)
The offending line is:
./Preproc/src/VPreproc.cpp: void parsingOn() { m_off--; assert(m_off>=0); if (!m_off) addLineComment(0); }
Let me know if you need any additional information.
Cheers,
Marek