Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2005-03-18 19:34:44


Thomas Matelich <matelich_at_[hidden]> writes:

> Global namespace pollution strikes again. /usr/include/machine/reg.h
> defines a symbol R1, which messes up boost/iterator_facade.hpp. I'm
> not sure what the boost policy is on stuff like this, name change or
> #undef. I went with name change. I just changed all R1's to Ref1's
> and R2's to Ref2's (for consistency).
>
> If you'd like a patch, I can submit one, but its a pretty simple
> fix.

Please do.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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