error compiling re2c on 10.5 leopard

Riccardo Mottola riccardo.mottola at libero.it
Mon Aug 26 21:34:02 UTC 2019


Hi,

Ken Cunningham wrote:
> I saw this error on Tiger PPC with apple-gcc-4.2
>
> :info:build ./src/dfa/closure_posix.h:128: error: no match for 'operator!=' in 'c != std::vector<_Tp, _Alloc>::rend() [with _Tp = re2c::clos_t, _Alloc = std::allocator<re2c::clos_t>]()'
>
>
> Force-building it with gcc6 worked.

indeed, that way it worked on both x86 and amd64.
Interesting that clang-5.0 did not make it!

Riccardo


More information about the macports-users mailing list