-
Tor Lillqvist yazdı
Turns out that at least with the glibc version I have on openSUSE 12.3, whether <stdint.h> defines SIZE_MAX and friends or not depends on whether __STDC_LIMIT_MACROS is defined, and that gets defined (in our case) only when <stdint.h> gets included through some boost include file, or through <cstdint>. In the case of this compilation unit, apparently <stdint.h> gets included directly somewhere before SIZE_MAX is used in sw/inc/docary.hxx. Possibly a better fix would be to make sure we include <cstdint> everywhere and not <stdint.h>. That wouldn't help in case it is through some 3rd-party C library include file that the <stdint.h> gets included, though. This reverts commit 8e6527a9 Change-Id: I200985ee70eaf90fc3fa9341fdf9d657750e49ee
a441d5fb