Menu ▾ ▴

#2 Fails to build with recent clang

v1.0 (example)
open
nobody
None
5
2017-09-29
2017-09-29
FX
No

The error is an invalid pointer comparison:

mmfile.cxx:60:14: error: ordered comparison between pointer and zero ('char *' and 'int')
    if(m_beg > 0)
       ~~~~~ ^ ~

This should be (m_beg != 0).

Discussion


Log in to post a comment.