franck-ohayon-sb / libsquish

Automatically exported from code.google.com/p/libsquish
MIT License
0 stars 0 forks source link

limits.h include line missing, causing compile error about not finding INT_MAX #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Getting errors like this when compiling:
singlecolourfit.cpp:71: error: ‘INT_MAX’ was not declared in this scope

To fix it, and make it work, I needed to add this line:
#include <limits.h>
both to singlecolourfit.cpp and alpha.cpp.

Using gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) on 64-bits.

Original issue reported on code.google.com by niert...@gmail.com on 13 Jan 2009 at 8:16

GoogleCodeExporter commented 9 years ago
Thanks for the report.  This has already been fixed in the trunk (revision 9), 
so
will be fixed for the next release.

Original comment by sidm...@gmail.com on 16 Jan 2009 at 10:00