Skip to content
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

build fails with boost 1.84 #226

Open
ncopa opened this issue May 7, 2024 · 0 comments · May be fixed by #227
Open

build fails with boost 1.84 #226

ncopa opened this issue May 7, 2024 · 0 comments · May be fixed by #227

Comments

@ncopa
Copy link

ncopa commented May 7, 2024

Build fails with boost 1.84 on Alpine Linux edge:

[ 20%] Building CXX object CMakeFiles/gpick-dynv.dir/source/dynv/Xml.cpp.o
In file included from /usr/include/boost/endian/detail/endian_reverse.hpp:12,
                 from /usr/include/boost/endian/conversion.hpp:11,
                 from /home/ncopa/aports/community/gpick/src/gpick-0.3/source/dynv/Types.cpp:23:
/usr/include/boost/endian/conversion.hpp: In instantiation of 'constexpr EndianReversible boost::endian::conditional_reverse(EndianReversible) [with order From = boost::end
ian::order::little; order To = boost::endian::order::little; EndianReversible = float]':
/usr/include/boost/endian/conversion.hpp:166:76:   required from 'constexpr EndianReversible boost::endian::native_to_little(EndianReversible) [with EndianReversible = floa
t]'                                                                                   
/home/ncopa/aports/community/gpick/src/gpick-0.3/source/dynv/Types.cpp:124:41:   required from here
/usr/include/boost/endian/conversion.hpp:190:5: error: static assertion failed: std::is_class<EndianReversible>::value || detail::is_endian_reversible<EndianReversible>::va
lue                                    
  190 |     BOOST_ENDIAN_STATIC_ASSERT( std::is_class<EndianReversible>::value || detail::is_endian_reversible<EndianReversible>::value );
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~ 
/usr/include/boost/endian/conversion.hpp:190:5: note: '(((bool)std::integral_constant<bool, false>::value) || ((bool)std::integral_constant<bool, false>::value))' evaluates
 to false                                
gmake[2]: *** [CMakeFiles/gpick-dynv.dir/build.make:104: CMakeFiles/gpick-dynv.dir/source/dynv/Types.cpp.o] Error 1
@sertonix sertonix linked a pull request Jun 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant