cpp-lazy icon indicating copy to clipboard operation
cpp-lazy copied to clipboard

still support gcc5?

Open toge opened this issue 4 years ago • 5 comments

Does cpp-lazy support gcc5? I met compilation error in gcc 5.4.0:

In file included from xxx/include/Lz/Map.hpp:6:0,
xxx/include/Lz/detail/BasicIteratorView.hpp:642:34: error: expected type-specifier before ‘MAKE_BIN_OP’
          class BinaryPredicate = MAKE_BIN_OP(std::equal_to, internal::ValueTypeIterable<IterableA>)>
                                  ^
xxx/include/Lz/detail/BasicIteratorView.hpp:642:34: error: expected ‘>’ before ‘MAKE_BIN_OP’

I already confirmed cpp-lazy works fine gcc 6.4.0 or later.

toge avatar Nov 20 '22 01:11 toge

This is surprising. It should though, will take a look at it when I have the time.

ICreateYank avatar Nov 20 '22 11:11 ICreateYank

Should be fixed in https://github.com/MarcDirven/cpp-lazy/commit/a511a620ac22582380bc6aa492d0ff649798e374

ICreateYank avatar Nov 21 '22 15:11 ICreateYank

@MarcDirven Thanks a lot! I am going to try.

toge avatar Nov 21 '22 17:11 toge

Let me know if it works so we can close the issue

ICreateYank avatar Nov 21 '22 17:11 ICreateYank

@MarcDirven I confirmed it works fine. I close this issue. Thanks.

toge avatar Nov 22 '22 07:11 toge