pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: boost-libs build failure



On Fri, Aug 25, 2017 at 05:21:31PM +0100, Patrick Welche wrote:
> A -current/amd64, gcc 5.4.0, pbulk run fails to build boost-libs 1.65.0 with:
> 
> ./boost/stacktrace/detail/collect_unwind.ipp: In function '_Unwind_Reason_Code boost::stacktrace::detail::unwind_callback(_Unwind_Context*, void*)':
> ./boost/stacktrace/detail/collect_unwind.ipp:34:43: error: expected id-expression before numeric constant
>      return _Unwind_GetIP(context) ? ::_URC_NO_REASON : ::_URC_END_OF_STACK;
>                                        ^
> ./boost/stacktrace/detail/collect_unwind.ipp:34:43: error: expected ':' before numeric constant                                                                           
> etc

Remove the ::. I have no idea why they assume that enums are used.

Joerg


Home | Main Index | Thread Index | Old Index