I've done some more testing and it seems the issue may not be stdc_limit_macros and stdint.h. Indeed it seems that when PPL include stdint.h, the macro is well defined and I can retrieve the value of INTMAX_MAX.
The issue seems to be that for whatever reason the preprocessor treats gmpxx.h template stuff before actually including limits.h and so getting LONG_MAX... Note that limits is one of the first thing included in gmpxx.h. -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com. To post to this group, send email to mpir-devel@googlegroups.com. Visit this group at http://groups.google.com/group/mpir-devel. For more options, visit https://groups.google.com/d/optout.