Boost logo

Boost Users :

From: Ross Boylan (ross_at_[hidden])
Date: 2005-03-24 14:36:41


With boost 1.32, but not 1.31, I get the following errors
g++ -I /home/ross/peter/R/mspath/src -I/usr/lib/R/include -std=c++98
-Wall -I/usr/lib/R/include -MMD
-MF /home/ross/peter/R/mspath/src/depends/ConstrainedCoefficients.d -MP
-g -O2 -c -o
ConstrainedCoefficients.o /home/ross/peter/R/mspath/src/trueSrc/ConstrainedCoefficients.cc
In file included
from /home/ross/peter/R/mspath/src/boost/smart_container/ptr_map_adapter.hpp:22,

from /home/ross/peter/R/mspath/src/boost/smart_container/ptr_map.hpp:23,

from /home/ross/peter/R/mspath/src/trueSrc/ScratchPad.h:7,

from /home/ross/peter/R/mspath/src/trueSrc/ScratchDataProducer.h:5,

from /home/ross/peter/R/mspath/src/trueSrc/ConstrainedCoefficients.h:9,

from /home/ross/peter/R/mspath/src/trueSrc/ConstrainedCoefficients.cc:2:
/home/ross/peter/R/mspath/src/boost/smart_container/detail/map_iterator.hpp:22:28: warning: boost/config.hpp: No such file or directory
/home/ross/peter/R/mspath/src/boost/smart_container/detail/map_iterator.hpp:23:31: warning: boost/operators.hpp: No such file or directory
In file included
from /home/ross/peter/R/mspath/src/boost/smart_container/ptr_map_adapter.hpp:22,

from /home/ross/peter/R/mspath/src/boost/smart_container/ptr_map.hpp:23,

from /home/ross/peter/R/mspath/src/trueSrc/ScratchPad.h:7,

from /home/ross/peter/R/mspath/src/trueSrc/ScratchDataProducer.h:5,

from /home/ross/peter/R/mspath/src/trueSrc/ConstrainedCoefficients.h:9,

from /home/ross/peter/R/mspath/src/trueSrc/ConstrainedCoefficients.cc:2:
/home/ross/peter/R/mspath/src/boost/smart_container/detail/map_iterator.hpp:34: error: parse
   error before `<' token
/home/ross/peter/R/mspath/src/boost/smart_container/detail/map_iterator.hpp:39: error: syntax
   error before `;' token
etc.

This is using a pre-release version of the smart container (now indirect
iterator, I think) library. 1.31 was current at the time of the
pre-release.

I've searched the list other places, but haven't found any clues to
what's going on. Does anyone have any ideas? This is on Debian; is it
possible these files have been inadvertently deleted?
My /usr/include/boost/ directory does not have operators.hpp, though it
is in some subdirectories (e.g., lambda/detail/).

-- 
Ross Boylan                                      wk:  (415) 502-4031
530 Parnassus Avenue (Library) rm 115-4          ross_at_[hidden]
Dept of Epidemiology and Biostatistics           fax: (415) 476-9856
University of California, San Francisco
San Francisco, CA 94143-0840                     hm:  (415) 550-1062

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