Failure to compile on Debian Lenny in net.cpp - PATCH #645

issue ghost opened this issue on November 20, 2011
  1. ghost commented at 4:34 AM on November 20, 2011: none

    UINT64_MIN out of scope.

    *** headers.h 2011-11-19 23:01:12.000000000 -0500 --- headers.h_old 2011-11-19 23:33:42.000000000 -0500


    *** 20,28 **** #define WIN32_LEAN_AND_MEAN 1

    // Include boost/foreach here as it defines __STDC_LIMIT_MACROS on some systems. #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS // to enable UINT64_MAX from stdint.h

    • include <boost/foreach.hpp>

      endif

      if (defined(unix) || defined(unix)) && !defined(USG)

      --- 20,28 ----

      define WIN32_LEAN_AND_MEAN 1

      // Include boost/foreach here as it defines __STDC_LIMIT_MACROS on some systems.

    • include <boost/foreach.hpp>

      ifndef __STDC_LIMIT_MACROS

      define __STDC_LIMIT_MACROS // to enable UINT64_MAX from stdint.h

      endif

      if (defined(unix) || defined(unix)) && !defined(USG)

  2. gavinandresen commented at 1:13 AM on November 22, 2011: contributor

    Related: #637

  3. gavinandresen commented at 9:40 PM on February 23, 2012: contributor

    Latest code doesn't use UINT64_min (we've switch to std::numeric_limits<>)

  4. gavinandresen closed this on Feb 23, 2012

  5. kallewoof referenced this in commit d8d1e4f7f7 on Oct 4, 2019
  6. pinheadmz referenced this in commit af2a07370b on Nov 25, 2019
  7. pinheadmz referenced this in commit 2c42800c7c on Nov 26, 2019
  8. rajarshimaitra referenced this in commit 74e313d2bf on Aug 5, 2021
  9. DrahtBot locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me