Menu

#4 mp3stream.cpp:77: error: ‘SHRT_MAX’ was not declared in this

v1.06
closed-fixed
5
2019-11-18
2009-04-06
durmieu
No

Trying to build in Gentoo Linux, fails with the following error:

mp3stream.cpp: In function ‘short int MadFixedToSshort(mad_fixed_t)’:
mp3stream.cpp:77: error: ‘SHRT_MAX’ was not declared in this scope
mp3stream.cpp:79: error: ‘SHRT_MAX’ was not declared in this scope

including "#include <climits>" in mp3stream.cpp the issue

Discussion

  • Paul Wise

    Paul Wise - 2019-11-18
    • status: open --> closed-fixed
     
  • Paul Wise

    Paul Wise - 2019-11-18

    This was fixed in commit d344e71b587aaf56e5899a45b84ed2667a88097f

     

Log in to post a comment.