-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not complile under FreeBSD 10.3, Clang 3.6.2 and 3.8.0: boost error is "call to 'f' is ambiguous" #125
Comments
As fas as I know, this is a bug in boost::variant 1.55-1.57. Also your error log is incomplete, I don't see an exact place where error occurred. |
I was change log. See again please |
It use boost 1.55 |
Thanks, I'll take a look. |
Well, the following Dockerfile compiles perfectly (there are GCC 4.9 and boost 1.56). FROM ubuntu:vivid
RUN apt-get update
RUN apt-get -y install cmake
RUN apt-get -y install g++
RUN apt-get -y install git
RUN apt-get -y install libboost-dev
RUN apt-get -y install libboost-system-dev
RUN apt-get -y install libboost-thread-dev
RUN apt-get -y install make
COPY . /code/blackhole/
RUN mkdir -p /code/blackhole/build
WORKDIR /code/blackhole/build
RUN rm -rf *
RUN cmake -DENABLE_TESTING=ON ..
RUN make -j1
RUN ./blackhole-tests Investigating more... |
Yes. |
Seems like here it is: https://svn.boost.org/trac/boost/ticket/5487 |
GCC 4.9.2-10ubuntu13 with boost 1.55.0+dfsg-3ubuntu2 also compiles perfectly. |
Okay, I just reproduced it with clang. |
Check #127 please. |
I checked. Yes. It is fixed. |
Good, I'll merge after #126 be fixed. |
FreeBSD 10.3, Clang 3.6.2
FreeBSD 10.3, Clang 3.8.0
Detail log:
The text was updated successfully, but these errors were encountered: