there probably is a test for std::numeric_limits (which is part of c++ 2011 and available in GCC 4.4). To avoid this entirely, I just added a fixup which changed this to 0.