https://bugzilla.redhat.com/show_bug.cgi?id=1843142 Miro Hrončok <mhroncok@xxxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jwakely@xxxxxxxxxx Flags| |needinfo?(jwakely@xxxxxxxxx | |m) --- Comment #4 from Miro Hrončok <mhroncok@xxxxxxxxxx> --- So even if I replace: #include <boost/detail/endian.hpp> With: #define BOOST_ENDIAN_DEPRECATED_NAMES #include <boost/endian/endian.hpp> I still get to this: #ifndef BOOST_LITTLE_ENDIAN #error "admesh works correctly on little endian machines only!" #endif And that fails even on x86_64: g++ -I/usr/lib64/perl5/CORE -fPIC -xc++ -Isrc/libslic3r -D_GLIBCXX_USE_C99 -DHAS_BOOL -DNOGDI -DSLIC3RXS -DBOOST_ASIO_DISABLE_KQUEUE -Dexprtk_disable_rtl_io_file -Dexprtk_disable_return_statement -Dexprtk_disable_rtl_vecops -Dexprtk_disable_string_capabilities -Dexprtk_disable_enhanced_features -U__STRICT_ANSI__ -std=c++11 -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -o src/libslic3r/IO.o src/libslic3r/IO.cpp In file included from src/libslic3r/TriangleMesh.hpp:5, from src/libslic3r/Model.hpp:9, from src/libslic3r/IO.hpp:5, from src/libslic3r/IO.cpp:1: src/admesh/stl.h:33:2: error: #error "admesh works correctly on little endian machines only!" 33 | #error "admesh works correctly on little endian machines only!" | ^~~~~ In file included from /usr/include/boost/config/header_deprecated.hpp:18, from /usr/include/boost/endian/endian.hpp:17, from src/admesh/stl.h:30, from src/libslic3r/TriangleMesh.hpp:5, from src/libslic3r/Model.hpp:9, from src/libslic3r/IO.hpp:5, from src/libslic3r/IO.cpp:1: /usr/include/boost/endian/endian.hpp:19:1: note: '#pragma message: This header is deprecated. Use <boost/endian/arithmetic.hpp> instead.' 19 | BOOST_HEADER_DEPRECATED( "<boost/endian/arithmetic.hpp>" ) | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option '-Wno-undefined-var-template' may have been intended to silence earlier diagnostics error building src/libslic3r/IO.o from 'src/libslic3r/IO.cpp' at /usr/share/perl5/vendor_perl/ExtUtils/CBuilder/Base.pm line 185. Redi, could you please help? -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx