Opened 4 years ago
Closed 2 years ago
#60658 closed defect (fixed)
Akumuli @0.8.78: error: cannot decrement expression of enum type
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | Akumuli |
Description
Akumuli has this build error at least on 10.8:
/usr/bin/../lib/c++/v1/algorithm:2003:32: error: cannot decrement expression of enum type 'Akumuli::StorageEngine::IOVecBlock::<anonymous enum at /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_databases_Akumuli/Akumuli/work/Akumuli-0.8.78/libakumuli/storage_engine/volume.h:48:5>' for (; __n > 0; ++__first, --__n) ^ /usr/bin/../lib/c++/v1/algorithm:2029:18: note: in instantiation of function template specialization 'std::__1::__fill_n<std::__1::back_insert_iterator<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, Akumuli::StorageEngine::IOVecBlock::<anonymous enum at /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_databases_Akumuli/Akumuli/work/Akumuli-0.8.78/libakumuli/storage_engine/volume.h:48:5>, int>' requested here return _VSTD::__fill_n(__first, __n, __value_); ^ /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_databases_Akumuli/Akumuli/work/Akumuli-0.8.78/libakumuli/storage_engine/blockstore.cpp:563:18: note: in instantiation of function template specialization 'std::__1::fill_n<std::__1::back_insert_iterator<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >, Akumuli::StorageEngine::IOVecBlock::<anonymous enum at /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_databases_Akumuli/Akumuli/work/Akumuli-0.8.78/libakumuli/storage_engine/volume.h:48:5>, int>' requested here std::fill_n(std::back_inserter(buffer_), IOVecBlock::COMPONENT_SIZE, 0); ^
Change History (2)
comment:1 Changed 2 years ago by barracuda156
comment:2 Changed 2 years ago by barracuda156
Owner: | set to barracuda156 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Replying to ryandesign:
The current v. 0.8.80 does not exhibit this error, though it still needs a fix for Clang builds. If you could take a look, it will be awesome – maybe you know how to fix that: https://github.com/macports/macports-ports/pull/15631#issuecomment-1207142749