|
Boost Users : |
Subject: [Boost-users] Mac OS 10.6 MacPorts and duplicate tr1 tuples
From: Daniel Russel (drussel_at_[hidden])
Date: 2009-12-01 15:44:35
I'm trying to use the mac ports version of boost 1.41 on mac os 10.6, XCode 3.2. I'm running in to problems due to (I think) the fact that the mac os version of g++ 4.2.1 includes it own definition of the tr1 tuple. This results duplicate definitions when the boost/tr1/tuple.hpp header is included in a file (and some boost headers include it internally). What is the right way to work around this? I see various preprocessor symbols I can define, but an not sure what the cleanest way is. Thanks.
--Daniel
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net