Boost logo

Boost :

From: Scott L. Burson (Scott_at_[hidden])
Date: 2007-01-25 15:34:03


Hi,

This concerns Boost 1.33.1. In order to build some code I have that
uses the Graph package, I had to make a change to
`boost/graph/graph_traits.hpp'. Near the bottom of that file a
namespace kludge is conditionalized by

   #if defined(__GNUC__) && defined(__SGI_STL_PORT)

This kludge breaks (and, as far as I can tell, is no longer necessary)
under GCC 4 (I presume; I've only actually tried 4.1.1). So I changed
the above line to

  #if defined(__GNUC__) && __GNUC__ < 4 && defined(__SGI_STL_PORT)

This seems to work fine for me.

-- Scott


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk