Boost logo

Boost Users :

Subject: Re: [Boost-users] Compiler errors using boost/program_options with Boost v 1.53 and v 1.59
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2016-04-26 01:23:10


On 25/04/2016 21:36, Christine Peters wrote:
> I would be very glad if someone could help me. It seems that somehow the
> AUX778076 parameter defined in
> "boost/1_59_0/include/boost/mpl/times.hpp" is converted to ostimes
> during the compilation:
> I've changed, just for testing reasons!, in file
> "/boost/1_59_0/include/boost/mpl/times.hpp" the line "#define
> AUX778076_OP_NAME times" to "#define AUX778076_OP_NAME timestest" and
> then boost is searching for the correct header "timestest.hpp" but in
> the case of "#define AUX778076_OP_NAME times" it is searching for
> "ostimes.hpp" instead of "times.hpp".

Search through your previously included files for anything similar to this:

#define times ostimes

(This is just a guess, but it would match your reported symptoms.)


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