Boost logo

Boost Users :

Subject: [Boost-users] Boost forces Cygwin build to be 32-bit, even when it shouldn't
From: Chris Taylor (sciencectn_at_[hidden])
Date: 2015-03-15 14:24:08

I'm having trouble building boost under Cygwin. I've installed the 64 bit
version of Cygwin and all programs are compiled as 64 bit.

Yet, for some reason, the header ./boost/python/detail/wrap_python.hpp
defines SIZEOF_LONG to be 4 when __CYGWIN__ is defined, which is only valid
for a 32-bit system. This signals an error check in a python header, and
the build fails.

Why does this #define exist? Can we get rid of it?

More info here:

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at