Skip to content

Instantly share code, notes, and snippets.

@kortschak
Last active July 19, 2020 14:57
Show Gist options
  • Save kortschak/20aefa99ea933cd50376eb7a4318578a to your computer and use it in GitHub Desktop.
Save kortschak/20aefa99ea933cd50376eb7a4318578a to your computer and use it in GitHub Desktop.
~/Development/3d/Slic3r [(version_1.40.0-alpha)]$ export LDLOADLIBS=-lstdc++
~/Development/3d/Slic3r [(version_1.40.0-alpha)]$ perl Build.PL
Attempting to create directory /home/xxxx/Development/3d/Slic3r/local-lib
--> Working on App::cpanminus
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz ... OK
Configuring App-cpanminus-1.7044 ... OK
Building and testing App-cpanminus-1.7044 ... OK
Successfully installed App-cpanminus-1.7044 (upgraded from 1.7040)
1 distribution installed
Class::XSAccessor is up to date. (1.19)
--> Working on Devel::CheckLib
Fetching http://www.cpan.org/authors/id/M/MA/MATTN/Devel-CheckLib-1.11.tar.gz ... OK
Configuring Devel-CheckLib-1.11 ... OK
==> Found dependencies: Mock::Config, IO::CaptureOutput
--> Working on Mock::Config
Fetching http://www.cpan.org/authors/id/R/RU/RURBAN/Mock-Config-0.03.tar.gz ... OK
Configuring Mock-Config-0.03 ... OK
Building and testing Mock-Config-0.03 ... OK
Successfully installed Mock-Config-0.03
--> Working on IO::CaptureOutput
Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/IO-CaptureOutput-1.1104.tar.gz ... OK
Configuring IO-CaptureOutput-1.1104 ... OK
Building and testing IO-CaptureOutput-1.1104 ... OK
Successfully installed IO-CaptureOutput-1.1104
Building and testing Devel-CheckLib-1.11 ... OK
Successfully installed Devel-CheckLib-1.11
3 distributions installed
--> Working on ExtUtils::MakeMaker
Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7.34.tar.gz ... OK
Configuring ExtUtils-MakeMaker-7.34 ... OK
Building and testing ExtUtils-MakeMaker-7.34 ... OK
Successfully installed ExtUtils-MakeMaker-7.34 (upgraded from 7.04_01)
1 distribution installed
--> Working on ExtUtils::ParseXS
Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/ExtUtils-ParseXS-3.35.tar.gz ... OK
Configuring ExtUtils-ParseXS-3.35 ... OK
Building and testing ExtUtils-ParseXS-3.35 ... OK
Successfully installed ExtUtils-ParseXS-3.35 (upgraded from 3.28)
1 distribution installed
ExtUtils::Typemaps is up to date. (3.35)
--> Working on ExtUtils::XSpp
Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/ExtUtils-XSpp-0.18.tar.gz ... OK
Configuring ExtUtils-XSpp-0.18 ... OK
==> Found dependencies: Test::Base, Test::Differences
--> Working on Test::Base
Fetching http://www.cpan.org/authors/id/I/IN/INGY/Test-Base-0.89.tar.gz ... OK
Configuring Test-Base-0.89 ... OK
==> Found dependencies: Text::Diff, Spiffy
--> Working on Text::Diff
Fetching http://www.cpan.org/authors/id/N/NE/NEILB/Text-Diff-1.45.tar.gz ... OK
Configuring Text-Diff-1.45 ... OK
Building and testing Text-Diff-1.45 ... OK
Successfully installed Text-Diff-1.45
--> Working on Spiffy
Fetching http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-0.46.tar.gz ... OK
Configuring Spiffy-0.46 ... OK
Building and testing Spiffy-0.46 ... OK
Successfully installed Spiffy-0.46
Building and testing Test-Base-0.89 ... OK
Successfully installed Test-Base-0.89
--> Working on Test::Differences
Fetching http://www.cpan.org/authors/id/D/DC/DCANTRELL/Test-Differences-0.64.tar.gz ... OK
Configuring Test-Differences-0.64 ... OK
Building and testing Test-Differences-0.64 ... OK
Successfully installed Test-Differences-0.64
Building and testing ExtUtils-XSpp-0.18 ... OK
Successfully installed ExtUtils-XSpp-0.18
5 distributions installed
File::Basename is up to date. (2.85)
--> Working on File::Spec
Fetching http://www.cpan.org/authors/id/X/XS/XSAWYERX/PathTools-3.74.tar.gz ... OK
Configuring PathTools-3.74 ... OK
Building and testing PathTools-3.74 ... OK
Successfully installed PathTools-3.74 (upgraded from 3.56)
1 distribution installed
--> Working on Getopt::Long
Fetching http://www.cpan.org/authors/id/J/JV/JV/Getopt-Long-2.50.tar.gz ... OK
Configuring Getopt-Long-2.50 ... OK
Building and testing Getopt-Long-2.50 ... OK
Successfully installed Getopt-Long-2.50 (upgraded from 2.45)
1 distribution installed
--> Working on IO::Scalar
Fetching http://www.cpan.org/authors/id/D/DS/DSKOLL/IO-stringy-2.111.tar.gz ... OK
Configuring IO-stringy-2.111 ... OK
Building and testing IO-stringy-2.111 ... OK
Successfully installed IO-stringy-2.111 (upgraded from 2.110)
1 distribution installed
--> Working on Module::Build::WithXSpp
Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/Module-Build-WithXSpp-0.14.tar.gz ... OK
Configuring Module-Build-WithXSpp-0.14 ... OK
Building and testing Module-Build-WithXSpp-0.14 ... OK
Successfully installed Module-Build-WithXSpp-0.14
1 distribution installed
--> Working on Moo
Fetching http://www.cpan.org/authors/id/H/HA/HAARG/Moo-2.003004.tar.gz ... OK
Configuring Moo-2.003004 ... OK
==> Found dependencies: Sub::Quote, Test::Fatal, Role::Tiny, Sub::Defer
--> Working on Sub::Quote
Fetching http://www.cpan.org/authors/id/H/HA/HAARG/Sub-Quote-2.005001.tar.gz ... OK
Configuring Sub-Quote-2.005001 ... OK
==> Found dependencies: Test::Fatal
--> Working on Test::Fatal
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Fatal-0.014.tar.gz ... OK
Configuring Test-Fatal-0.014 ... OK
Building and testing Test-Fatal-0.014 ... OK
Successfully installed Test-Fatal-0.014
Building and testing Sub-Quote-2.005001 ... OK
Successfully installed Sub-Quote-2.005001 (upgraded from 2.000002)
--> Working on Role::Tiny
Fetching http://www.cpan.org/authors/id/H/HA/HAARG/Role-Tiny-2.000006.tar.gz ... OK
Configuring Role-Tiny-2.000006 ... OK
Building and testing Role-Tiny-2.000006 ... OK
Successfully installed Role-Tiny-2.000006 (upgraded from 2.000001)
Building and testing Moo-2.003004 ... OK
Successfully installed Moo-2.003004 (upgraded from 2.000002)
4 distributions installed
skipping S/SH/SHAY/perl-5.26.2.tar.bz2
--> Working on Scalar::Util
Fetching http://www.cpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-1.50.tar.gz ... OK
Configuring Scalar-List-Utils-1.50 ... OK
Building and testing Scalar-List-Utils-1.50 ... OK
Successfully installed Scalar-List-Utils-1.50 (upgraded from 1.41)
1 distribution installed
--> Working on Test::Harness
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Test-Harness-3.42.tar.gz ... OK
Configuring Test-Harness-3.42 ... OK
Building Test-Harness-3.42 ... OK
Successfully installed Test-Harness-3.42 (upgraded from 3.35)
1 distribution installed
--> Working on Test::More
Fetching http://www.cpan.org/authors/id/E/EX/EXODIST/Test-Simple-1.302136.tar.gz ... OK
Configuring Test-Simple-1.302136 ... OK
Building and testing Test-Simple-1.302136 ... OK
Successfully installed Test-Simple-1.302136 (upgraded from 1.001014)
1 distribution installed
--> Working on Thread::Semaphore
Fetching http://www.cpan.org/authors/id/J/JD/JDHEDDEN/Thread-Semaphore-2.13.tar.gz ... OK
Configuring Thread-Semaphore-2.13 ... OK
Building and testing Thread-Semaphore-2.13 ... OK
Successfully installed Thread-Semaphore-2.13 (upgraded from 2.12)
1 distribution installed
--> Working on Time::HiRes
Fetching http://www.cpan.org/authors/id/J/JH/JHI/Time-HiRes-1.9758.tar.gz ... OK
Configuring Time-HiRes-1.9758 ... OK
Building and testing Time-HiRes-1.9758 ... OK
Successfully installed Time-HiRes-1.9758 (upgraded from 1.9726)
1 distribution installed
--> Working on threads
Fetching http://www.cpan.org/authors/id/J/JD/JDHEDDEN/threads-2.21.tar.gz ... OK
Configuring threads-2.21 ... OK
Building and testing threads-2.21 ... OK
Successfully installed threads-2.21 (upgraded from 2.01)
1 distribution installed
Perl dependencies for Slic3r were installed.
If you also want to use the GUI you can now run `perl Build.PL --gui` to install the required modules.
In the next step, you need to build the Slic3r C++ library.
1) Create a build directory and change to it
2) run cmake .. -DCMAKE_BUILD_TYPE=Release
3) run make
4) to execute the automatic tests, run ctest --verbose
~/Development/3d/Slic3r [(version_1.40.0-alpha)]$ perl Build.PL --gui
App::cpanminus is up to date. (1.7044)
--> Working on Class::Accessor
Fetching http://www.cpan.org/authors/id/K/KA/KASEI/Class-Accessor-0.51.tar.gz ... OK
Configuring Class-Accessor-0.51 ... OK
Building and testing Class-Accessor-0.51 ... OK
Successfully installed Class-Accessor-0.51 (upgraded from 0.34)
1 distribution installed
--> Working on Growl::GNTP
Fetching http://www.cpan.org/authors/id/M/MA/MATTN/Growl-GNTP-0.21.tar.gz ... OK
==> Found dependencies: Module::Build::Tiny
--> Working on Module::Build::Tiny
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-0.039.tar.gz ... OK
==> Found dependencies: ExtUtils::Helpers, ExtUtils::InstallPaths, ExtUtils::Config
--> Working on ExtUtils::Helpers
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-0.026.tar.gz ... OK
Configuring ExtUtils-Helpers-0.026 ... OK
Building and testing ExtUtils-Helpers-0.026 ... OK
Successfully installed ExtUtils-Helpers-0.026
--> Working on ExtUtils::InstallPaths
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-0.012.tar.gz ... OK
Configuring ExtUtils-InstallPaths-0.012 ... OK
==> Found dependencies: ExtUtils::Config
--> Working on ExtUtils::Config
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-0.008.tar.gz ... OK
Configuring ExtUtils-Config-0.008 ... OK
Building and testing ExtUtils-Config-0.008 ... OK
Successfully installed ExtUtils-Config-0.008
Building and testing ExtUtils-InstallPaths-0.012 ... OK
Successfully installed ExtUtils-InstallPaths-0.012
Configuring Module-Build-Tiny-0.039 ... OK
Building and testing Module-Build-Tiny-0.039 ... OK
Successfully installed Module-Build-Tiny-0.039
Configuring Growl-GNTP-0.21 ... OK
==> Found dependencies: Crypt::CBC, Data::UUID
--> Working on Crypt::CBC
Fetching http://www.cpan.org/authors/id/L/LD/LDS/Crypt-CBC-2.33.tar.gz ... OK
Configuring Crypt-CBC-2.33 ... OK
Building and testing Crypt-CBC-2.33 ... OK
Successfully installed Crypt-CBC-2.33
--> Working on Data::UUID
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Data-UUID-1.221.tar.gz ... OK
Configuring Data-UUID-1.221 ... OK
Building and testing Data-UUID-1.221 ... OK
Successfully installed Data-UUID-1.221
Building and testing Growl-GNTP-0.21 ... OK
Successfully installed Growl-GNTP-0.21
7 distributions installed
--> Working on LWP::UserAgent
Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.33.tar.gz ... OK
Configuring libwww-perl-6.33 ... OK
==> Found dependencies: Test::RequiresInternet
--> Working on Test::RequiresInternet
Fetching http://www.cpan.org/authors/id/M/MA/MALLEN/Test-RequiresInternet-0.05.tar.gz ... OK
Configuring Test-RequiresInternet-0.05 ... OK
Building and testing Test-RequiresInternet-0.05 ... OK
Successfully installed Test-RequiresInternet-0.05
Building and testing libwww-perl-6.33 ... OK
Successfully installed libwww-perl-6.33 (upgraded from 6.15)
2 distributions installed
--> Working on Net::Bonjour
Fetching http://www.cpan.org/authors/id/C/CH/CHLIGE/Net-Bonjour-0.96.tar.gz ... OK
Configuring Net-Bonjour-0.96 ... OK
Building and testing Net-Bonjour-0.96 ... OK
Successfully installed Net-Bonjour-0.96
1 distribution installed
--> Working on Socket
Fetching http://www.cpan.org/authors/id/P/PE/PEVANS/Socket-2.027.tar.gz ... OK
Configuring Socket-2.027 ... OK
Building and testing Socket-2.027 ... OK
Successfully installed Socket-2.027 (upgraded from 2.018)
1 distribution installed
--> Working on Wx
Fetching http://www.cpan.org/authors/id/M/MD/MDOOTSON/Wx-0.9932.tar.gz ... OK
Configuring Wx-0.9932 ... OK
Building and testing Wx-0.9932 ... OK
Successfully installed Wx-0.9932 (upgraded from 0.9923)
1 distribution installed
Wx::GLCanvas is up to date. (0.09)
Perl dependencies for the Slic3r GUI were installed.
In the next step, you need to build the Slic3r C++ library.
1) Create a build directory and change to it
2) run cmake .. -DCMAKE_BUILD_TYPE=Release
3) run make
4) to execute the automatic tests, run ctest --verbose
~/Development/3d/Slic3r [(version_1.40.0-alpha)]$ mkdir build
~/Development/3d/Slic3r [(version_1.40.0-alpha)]$ cd build/
~/Development/3d/Slic3r/build [(version_1.40.0-alpha)]$ cmake .. -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
PATH: /home/xxxx/Development/3d/Slic3r/local-lib/bin:/home/xxxx/bin:/home/xxxx/go/bin:/home/xxxx/bin:/home/xxxx/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PERL5LIB: /home/xxxx/Development/3d/Slic3r/local-lib/lib/perl:
-- Found Perl: /usr/bin/perl (found version "5.22.1")
Slic3r will be built with GUI support
-- Found PerlLibs: /usr/lib/x86_64-linux-gnu/libperl.so.5.22 (found version "5.22.1")
-- PERL_INCLUDE_PATH = /usr/lib/x86_64-linux-gnu/perl/5.22/CORE
-- PERL_LIBRARY = /usr/lib/x86_64-linux-gnu/libperl.so.5.22
-- PERL_EXECUTABLE = /usr/bin/perl
-- PERL_SITESEARCH = UNKNOWN
-- PERL_SITELIB = /usr/local/share/perl/5.22.1
-- PERL_VENDORARCH = /usr/lib/x86_64-linux-gnu/perl5/5.22
-- PERL_VENDORLIB = /usr/share/perl5
-- PERL_ARCHLIB = /usr/lib/x86_64-linux-gnu/perl/5.22
-- PERL_PRIVLIB = /usr/share/perl/5.22
-- PERL_EXTRA_C_FLAGS = -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include
-- PerlEmbed_ARCHNAME = x86_64-linux-gnu-thread-multi
-- PerlEmbed_CCFLAGS = -D_REENTRANT;-D_GNU_SOURCE;-DDEBIAN;-fwrapv;-fno-strict-aliasing;-pipe;-I/usr/local/include;-D_LARGEFILE_SOURCE;-D_FILE_OFFSET_BITS=64
-- PerlEmbed_CCCDLFLAGS = -fPIC
-- LD = x86_64-linux-gnu-gcc
-- PerlEmbed_LDFLAGS = -Wl,-E;-fstack-protector-strong;-L/usr/local/lib;-L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE;-lperl;-ldl;-lm;-lpthread;-lc;-lcrypt
-- PerlEmbed_LDDLFLAGS = -shared;-L/usr/local/lib;-fstack-protector-strong
-- Found PerlEmbed: -D_REENTRANT;-D_GNU_SOURCE;-DDEBIAN;-fwrapv;-fno-strict-aliasing;-pipe;-I/usr/local/include;-D_LARGEFILE_SOURCE;-D_FILE_OFFSET_BITS=64 (found version "5.22.1")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- log
-- locale
-- regex
-- chrono
-- date_time
-- atomic
-- log_setup
-- Found TBB: /usr/include (found version "4.4")
-- TBB_INCLUDE_DIRS = /usr/include
-- TBB_DEFINITIONS =
-- TBB_LIBRARIES = /usr/lib/x86_64-linux-gnu/libtbb.so
-- TBB_DEFINITIONS_DEBUG = -DTBB_USE_DEBUG=1
-- TBB_LIBRARIES_DEBUG =
-- TBB_DEFINITIONS_RELEASE =
-- TBB_LIBRARIES_RELEASE = /usr/lib/x86_64-linux-gnu/libtbb.so
-- AlienWx_FIND_COMPONENTS=base;core;adv
-- AlienWx_VERSION = 3.000002
-- AlienWx_INCLUDE_DIRS = /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0;/usr/include/wx-3.0
-- AlienWx_LIBRARIES = -L/usr/lib/x86_64-linux-gnu;-lpthread;-lwx_baseu-3.0;-lwx_gtk2u_core-3.0;-lwx_gtk2u_adv-3.0
-- AlienWx_LIBRARY_DIRS =
-- AlienWx_DEFINITIONS = -D_FILE_OFFSET_BITS=64;-DWXUSINGDLL;-D__WXGTK__
-- AlienWx_DEFINITIONS_DEBUG =
-- AlienWx_CXX_FLAGS = -pthread
-- Found AlienWx: /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0;/usr/include/wx-3.0 (found version "3.000002")
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.1.0")
-- Found GLEW: /usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxxx/Development/3d/Slic3r/build
~/Development/3d/Slic3r/build [(version_1.40.0-alpha)*]$ make
Scanning dependencies of target clipper
[ 1%] Building CXX object xs/CMakeFiles/clipper.dir/src/clipper.cpp.o
[ 2%] Linking CXX static library libclipper.a
[ 2%] Built target clipper
Scanning dependencies of target polypartition
[ 3%] Building CXX object xs/CMakeFiles/polypartition.dir/src/polypartition.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/polypartition.cpp: In member function ‘int TPPLPartition::Triangulate_EC(TPPLPoly*, std::__cxx11::list<TPPLPoly>*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/polypartition.cpp:434:15: warning: ‘ear’ may be used uninitialized in this function [-Wmaybe-uninitialized]
UpdateVertex(ear->next,vertices,numvertices);
^
[ 4%] Linking CXX static library libpolypartition.a
[ 4%] Built target polypartition
Scanning dependencies of target libslic3r_gui
[ 5%] Building CXX object xs/CMakeFiles/libslic3r_gui.dir/src/slic3r/GUI/AppConfig.cpp.o
[ 6%] Building CXX object xs/CMakeFiles/libslic3r_gui.dir/src/slic3r/GUI/3DScene.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/3DScene.cpp: In member function ‘void Slic3r::GLIndexedVertexArray::load_mesh_flat_shading(const Slic3r::TriangleMesh&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/3DScene.cpp:33:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < mesh.stl.stats.number_of_facets; ++ i) {
^
[ 7%] Building CXX object xs/CMakeFiles/libslic3r_gui.dir/src/slic3r/GUI/GLShader.cpp.o
[ 8%] Building CXX object xs/CMakeFiles/libslic3r_gui.dir/src/slic3r/GUI/Preset.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/Preset.cpp: In member function ‘void Slic3r::PresetCollection::update_compatible_with_printer(const Slic3r::Preset&, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/Preset.cpp:437:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
bool selected = idx_preset == m_idx_selected;
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/Preset.cpp:442:28: warning: overflow in implicit constant conversion [-Woverflow]
m_idx_selected = (size_t)-1;
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/Preset.cpp:446:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (m_idx_selected == (size_t)-1)
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/Preset.cpp: In member function ‘void Slic3r::PresetCollection::update_platter_ui(wxBitmapComboBox*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/Preset.cpp:470:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (! preset.is_visible || (! preset.is_compatible && i != m_idx_selected))
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/Preset.cpp:475:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == m_idx_selected)
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/Preset.cpp: In member function ‘void Slic3r::PresetCollection::update_tab_ui(wxBitmapComboBox*, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/Preset.cpp:489:88: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (! preset.is_visible || (! show_incompatible && ! preset.is_compatible && i != m_idx_selected
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/Preset.cpp:494:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == m_idx_selected)
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/Preset.cpp: In member function ‘bool Slic3r::PresetCollection::select_preset_by_name(const string&, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/Preset.cpp:578:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (m_idx_selected != idx || force) {
^
[ 8%] Building CXX object xs/CMakeFiles/libslic3r_gui.dir/src/slic3r/GUI/PresetBundle.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetBundle.cpp: In member function ‘void Slic3r::PresetBundle::export_selections(Slic3r::AppConfig&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetBundle.cpp:181:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < filament_presets.size(); ++i) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetBundle.cpp: In member function ‘void Slic3r::PresetBundle::load_config_file_config(const string&, bool, Slic3r::DynamicPrintConfig&&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetBundle.cpp:388:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
sprintf(suffix, " (%d)", i);
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetBundle.cpp: In lambda function:
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetBundle.cpp:438:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
sprintf(buf, " (%d)", i);
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetBundle.cpp: In member function ‘size_t Slic3r::PresetBundle::load_configbundle(const string&, unsigned int)’:
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetBundle.cpp:488:35: warning: variable ‘loaded’ set but not used [-Wunused-but-set-variable]
std::vector<std::string> *loaded = nullptr;
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetBundle.cpp: In member function ‘void Slic3r::PresetBundle::export_configbundle(const string&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetBundle.cpp:623:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
sprintf(suffix, "_%d", i);
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetBundle.cpp: In member function ‘void Slic3r::PresetBundle::update_platter_filament_ui(unsigned int, wxBitmapComboBox*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetBundle.cpp:727:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = 0; i < image.GetWidth() * image.GetHeight(); ++ i) {
^
[ 9%] Building CXX object xs/CMakeFiles/libslic3r_gui.dir/src/slic3r/GUI/PresetHints.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetHints.cpp: In static member function ‘static std::__cxx11::string Slic3r::PresetHints::maximum_volumetric_flow_description(const Slic3r::PresetBundle&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetHints.cpp:86:12: warning: unused variable ‘gap_fill_speed’ [-Wunused-variable]
double gap_fill_speed = print_config.opt_float("gap_fill_speed");
^
/home/xxxx/Development/3d/Slic3r/xs/src/slic3r/GUI/PresetHints.cpp:120:12: warning: unused variable ‘extrusion_multiplier’ [-Wunused-variable]
double extrusion_multiplier = filament_config.opt_float("extrusion_multiplier", 0);
^
[ 10%] Building CXX object xs/CMakeFiles/libslic3r_gui.dir/src/slic3r/GUI/GUI.cpp.o
[ 11%] Linking CXX static library liblibslic3r_gui.a
[ 11%] Built target libslic3r_gui
Scanning dependencies of target libslic3r
[ 12%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/BoundingBox.cpp.o
[ 13%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/BridgeDetector.cpp.o
[ 14%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/ClipperUtils.cpp.o
[ 15%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Config.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Config.cpp: In member function ‘void Slic3r::ConfigBase::load_from_gcode(const string&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Config.cpp:422:106: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
sprintf(msg, "Suspiciously low number of configuration values extracted: %d", num_key_value_pairs);
^
[ 16%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/EdgeGrid.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.cpp:12:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.hpp: In member function ‘bool Slic3r::EdgeGrid::Grid::cell_inside_or_crossing(int, int) const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.hpp:76:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r < 0 || r >= m_rows ||
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.hpp:77:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
c < 0 || c >= m_cols)
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.cpp: In member function ‘void Slic3r::EdgeGrid::Grid::calculate_sdf()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.cpp:776:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (corner_r < 0 || corner_r >= nrows)
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.cpp:780:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (corner_c < 0 || corner_c >= ncols)
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.cpp: In member function ‘bool Slic3r::EdgeGrid::Grid::signed_distance_edges(const Slic3r::Point&, coord_t, coordf_t&, bool*) const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.cpp:1136:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (bbox.max.x >= m_cols)
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.cpp:1138:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (bbox.max.y >= m_rows)
^
[ 17%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/ExPolygon.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExPolygon.cpp:7:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExPolygon.cpp:7:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:21:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename) :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExPolygon.cpp:7:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExPolygon.cpp:7:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:24:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bool afl
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExPolygon.cpp:7:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExPolygon.cpp:7:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExPolygon.cpp:7:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:27:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExPolygon.cpp:7:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExPolygon.cpp:7:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:30:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bo
^
[ 17%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/ExPolygonCollection.cpp.o
[ 18%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Extruder.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Extruder.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Extruder.hpp: In constructor ‘Slic3r::Extruder::Extruder(unsigned int, Slic3r::GCodeConfig*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Extruder.hpp:61:18: warning: ‘Slic3r::Extruder::m_id’ will be initialized after [-Wreorder]
unsigned int m_id;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Extruder.hpp:59:18: warning: ‘Slic3r::GCodeConfig* Slic3r::Extruder::m_config’ [-Wreorder]
GCodeConfig *m_config;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Extruder.cpp:5:1: warning: when initialized here [-Wreorder]
Extruder::Extruder(unsigned int id, GCodeConfig *config) :
^
[ 19%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/ExtrusionEntity.cpp.o
[ 20%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/ExtrusionEntityCollection.cpp.o
[ 21%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/ExtrusionSimulator.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExtrusionSimulator.cpp: In function ‘void Slic3r::gcode_spread_points(Slic3r::A2f&, const A2f&, const ExtrusionPoints&, Slic3r::ExtrusionSimulationType)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExtrusionSimulator.cpp:663:15: warning: unused variable ‘radius2’ [-Wunused-variable]
const float radius2 = radius * radius;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExtrusionSimulator.cpp:778:9: warning: unused variable ‘area_err’ [-Wunused-variable]
float area_err = fabs(area_circle_total2 - area_circle_total) / area_circle_total2;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExtrusionSimulator.cpp: In member function ‘void Slic3r::ExtrusionSimulator::set_image_size(const Slic3r::Point&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExtrusionSimulator.cpp:908:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t r = 0; r < image_size.y; ++ r) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExtrusionSimulator.cpp:909:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t c = 0; c < image_size.x; c += 2) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExtrusionSimulator.cpp: In member function ‘void Slic3r::ExtrusionSimulator::extrude_to_accumulator(const Slic3r::ExtrusionPath&, const Slic3r::Point&, Slic3r::ExtrusionSimulationType)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExtrusionSimulator.cpp:961:8: warning: unused variable ‘h’ [-Wunused-variable]
float h = scale_(path.height) * scalex;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExtrusionSimulator.cpp: In member function ‘void Slic3r::ExtrusionSimulator::evaluate_accumulator(Slic3r::ExtrusionSimulationType)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExtrusionSimulator.cpp:996:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < pimpl->bitmap_oversampled; ++ j) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExtrusionSimulator.cpp:997:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < pimpl->bitmap_oversampled; ++ i) {
^
[ 22%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Fill/Fill.cpp.o
[ 23%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Fill/Fill3DHoneycomb.cpp.o
[ 24%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Fill/FillBase.cpp.o
[ 25%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Fill/FillConcentric.cpp.o
[ 26%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Fill/FillHoneycomb.cpp.o
[ 27%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Fill/FillPlanePath.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillPlanePath.cpp: In function ‘Slic3r::Point Slic3r::hilbert_n_to_xy(size_t)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillPlanePath.cpp:132:9: warning: variable ‘dirstate’ set but not used [-Wunused-but-set-variable]
int dirstate = (ndigits & 1) ? 0 : 4;
^
[ 28%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Fill/FillRectilinear.cpp.o
[ 29%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Fill/FillRectilinear2.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear2.cpp: In constructor ‘Slic3r::ExPolygonWithOffset::ExPolygonWithOffset(const Slic3r::ExPolygon&, float, coord_t, coord_t)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear2.cpp:290:14: warning: unused variable ‘sticks_removed’ [-Wunused-variable]
bool sticks_removed = remove_sticks(polygons_src);
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear2.cpp: In function ‘Slic3r::IntersectionTypeOtherVLine Slic3r::intersection_type_on_prev_next_vertical_line(const std::vector<Slic3r::SegmentedIntersectionLine>&, size_t, size_t, size_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear2.cpp:484:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (iIntersectionOther == -1)
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear2.cpp: In member function ‘bool Slic3r::FillRectilinear2::fill_surface_by_lines(const Slic3r::Surface*, const Slic3r::FillParams&, float, float, Slic3r::Polylines&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear2.cpp:1162:62: warning: unused variable ‘type_crossing’ [-Wunused-variable]
SegmentIntersection::SegmentIntersectionType type_crossing = (intrsctn->type == SegmentI
^
[ 30%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Fill/FillRectilinear3.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp:25:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp:25:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:21:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename) :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp:25:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp:25:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:24:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bool afl
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp:25:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp:25:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp:25:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:27:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp:25:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp:25:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:30:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bo
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp: In function ‘Slic3r::FillRectilinear3_Internal::IntersectionTypeOtherVLine Slic3r::FillRectilinear3_Internal::intersection_type_on_prev_next_vertical_line(const std::vector<Slic3r::FillRectilinear3_Internal::SegmentedIntersectionLine>&, size_t, size_t, size_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp:852:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (iIntersectionOther == -1)
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp: In function ‘bool Slic3r::FillRectilinear3_Internal::fill_hatching_segments_legacy(const Slic3r::FillRectilinear3_Internal::ExPolygonWithOffset&, const Slic3r::FillParams&, coord_t, Slic3r::FillRectilinear3_Internal::InfillHatchingSingleDirection&, Slic3r::Polylines&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Fill/FillRectilinear3.cpp:1287:62: warning: unused variable ‘type_crossing’ [-Wunused-variable]
SegmentIntersection::SegmentIntersectionType type_crossing = (intrsctn->type == SegmentI
^
[ 31%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Flow.cpp.o
[ 31%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Format/AMF.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Format/AMF.cpp: In function ‘bool Slic3r::load_amf(const char*, Slic3r::Model*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Format/AMF.cpp:508:60: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘XML_Size {aka long unsigned int}’ [-Wformat=]
XML_ErrorString(XML_GetErrorCode(parser)));
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Format/AMF.cpp: In function ‘bool Slic3r::store_amf(const char*, Slic3r::Model*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Format/AMF.cpp:574:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = 0; i < stl.stats.shared_vertices; ++ i) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Format/AMF.cpp:599:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < volume->mesh.stl.stats.number_of_facets; ++ i) {
^
[ 32%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Format/OBJ.cpp.o
[ 33%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Format/objparser.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Format/objparser.cpp: In function ‘bool ObjParser::obj_parseline(const char*, ObjParser::ObjData&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Format/objparser.cpp:180:7: warning: unused variable ‘n’ [-Wunused-variable]
int n = 0;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Format/objparser.cpp:269:15: warning: unused variable ‘name’ [-Wunused-variable]
const char *name = line;
^
[ 34%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Format/PRUS.cpp.o
[ 35%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Format/STL.cpp.o
[ 36%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/GCode/Analyzer.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/Analyzer.cpp:80:13: warning: ‘void Slic3r::eatws(const char*&)’ defined but not used [-Wunused-function]
static void eatws(const char *&line)
^
[ 37%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/GCode/CoolingBuffer.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCode.hpp:6:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/CoolingBuffer.cpp:1:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCodeWriter.hpp: In constructor ‘Slic3r::GCodeWriter::GCodeWriter()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCodeWriter.hpp:75:21: warning: ‘Slic3r::GCodeWriter::m_extruder’ will be initialized after [-Wreorder]
Extruder* m_extruder;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCodeWriter.hpp:74:21: warning: ‘bool Slic3r::GCodeWriter::m_single_extruder_multi_material’ [-Wreorder]
bool m_single_extruder_multi_material;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCode.hpp:6:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/CoolingBuffer.cpp:1:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCodeWriter.hpp:18:5: warning: when initialized here [-Wreorder]
GCodeWriter() :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCode/SpiralVase.hpp:5:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCode.hpp:15,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/CoolingBuffer.cpp:1:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp: In constructor ‘Slic3r::GCodeReader::GCodeReader()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:134:17: warning: ‘Slic3r::GCodeReader::m_verbose’ will be initialized after [-Wreorder]
bool m_verbose;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:132:17: warning: ‘char Slic3r::GCodeReader::m_extrusion_axis’ [-Wreorder]
char m_extrusion_axis;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:73:5: warning: when initialized here [-Wreorder]
GCodeReader() : m_verbose(false), m_extrusion_axis('E') { memset(m_position, 0, sizeof(m_position));
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCode.hpp:19:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/CoolingBuffer.cpp:1:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../EdgeGrid.hpp: In member function ‘bool Slic3r::EdgeGrid::Grid::cell_inside_or_crossing(int, int) const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../EdgeGrid.hpp:76:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r < 0 || r >= m_rows ||
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../EdgeGrid.hpp:77:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
c < 0 || c >= m_cols)
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/CoolingBuffer.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCode.hpp: In constructor ‘Slic3r::GCode::GCode()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCode.hpp:261:41: warning: ‘Slic3r::GCode::m_last_pos_defined’ will be initialized after [-Wreorder]
bool m_last_pos_defined;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCode.hpp:258:41: warning: ‘Slic3r::ExtrusionRole Slic3r::GCode::m_last_extrusion_role’ [-Wreorder]
ExtrusionRole m_last_extrusion_role;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/CoolingBuffer.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/../GCode.hpp:117:5: warning: when initialized here [-Wreorder]
GCode() :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/CoolingBuffer.cpp: In lambda function:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/CoolingBuffer.cpp:389:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (layer_id >= EXTRUDER_CONFIG(disable_fan_first_layers)) {
^
[ 38%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/GCode/PressureEqualizer.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/PressureEqualizer.cpp: In member function ‘bool Slic3r::PressureEqualizer::process_line(const char*, size_t, Slic3r::PressureEqualizer::GCodeLine&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/PressureEqualizer.cpp:286:18: warning: variable ‘set’ set but not used [-Wunused-but-set-variable]
bool set = false;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/PressureEqualizer.cpp:340:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (new_extruder != m_current_extruder) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/PressureEqualizer.cpp: In member function ‘void Slic3r::PressureEqualizer::push_line_to_output(const Slic3r::PressureEqualizer::GCodeLine&, float, const char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/PressureEqualizer.cpp:612:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (line.pos_provided[i])
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/PressureEqualizer.cpp:613:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
push_axis_to_output('X'+i, line.pos_end[i]);
^
[ 39%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/GCode/PrintExtents.cpp.o
[ 40%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/GCode/SpiralVase.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/SpiralVase.hpp:5:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/SpiralVase.cpp:1:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp: In constructor ‘Slic3r::GCodeReader::GCodeReader()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:134:17: warning: ‘Slic3r::GCodeReader::m_verbose’ will be initialized after [-Wreorder]
bool m_verbose;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:132:17: warning: ‘char Slic3r::GCodeReader::m_extrusion_axis’ [-Wreorder]
char m_extrusion_axis;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:73:5: warning: when initialized here [-Wreorder]
GCodeReader() : m_verbose(false), m_extrusion_axis('E') { memset(m_position, 0, sizeof(m_position));
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:6:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/SpiralVase.cpp:2:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.hpp: In constructor ‘Slic3r::GCodeWriter::GCodeWriter()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.hpp:75:21: warning: ‘Slic3r::GCodeWriter::m_extruder’ will be initialized after [-Wreorder]
Extruder* m_extruder;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.hpp:74:21: warning: ‘bool Slic3r::GCodeWriter::m_single_extruder_multi_material’ [-Wreorder]
bool m_single_extruder_multi_material;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:6:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/SpiralVase.cpp:2:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.hpp:18:5: warning: when initialized here [-Wreorder]
GCodeWriter() :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:19:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/SpiralVase.cpp:2:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.hpp: In member function ‘bool Slic3r::EdgeGrid::Grid::cell_inside_or_crossing(int, int) const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.hpp:76:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r < 0 || r >= m_rows ||
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.hpp:77:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
c < 0 || c >= m_cols)
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/SpiralVase.cpp:2:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp: In constructor ‘Slic3r::GCode::GCode()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:261:41: warning: ‘Slic3r::GCode::m_last_pos_defined’ will be initialized after [-Wreorder]
bool m_last_pos_defined;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:258:41: warning: ‘Slic3r::ExtrusionRole Slic3r::GCode::m_last_extrusion_role’ [-Wreorder]
ExtrusionRole m_last_extrusion_role;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/SpiralVase.cpp:2:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:117:5: warning: when initialized here [-Wreorder]
GCode() :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/SpiralVase.cpp: In member function ‘std::__cxx11::string Slic3r::SpiralVase::process_layer(const string&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/SpiralVase.cpp:50:22: warning: ‘z’ may be used uninitialized in this function [-Wmaybe-uninitialized]
z -= layer_height;
^
[ 41%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/GCode/ToolOrdering.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/ToolOrdering.cpp: In member function ‘void Slic3r::ToolOrdering::fill_wipe_tower_partitions(const Slic3r::PrintConfig&, coordf_t)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/ToolOrdering.cpp:273:37: warning: unused variable ‘lt_prev’ [-Wunused-variable]
LayerTools &lt_prev = m_layer_tools[j - 1];
^
[ 42%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/GCode/WipeTowerPrusaMM.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.hpp: In constructor ‘Slic3r::WipeTowerPrusaMM::box_coordinates::box_coordinates(float, float, float, float)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.hpp:220:6: warning: ‘Slic3r::WipeTowerPrusaMM::box_coordinates::rd’ will be initialized after [-Wreorder]
xy rd; // right lower
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.hpp:219:6: warning: ‘Slic3r::WipeTower::xy Slic3r::WipeTowerPrusaMM::box_coordinates::ru’ [-Wreorder]
xy ru; // right upper
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.hpp:194:3: warning: when initialized here [-Wreorder]
box_coordinates(float left, float bottom, float width, float height) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp: In constructor ‘Slic3r::PrusaMultiMaterial::Writer::Writer()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp:275:14: warning: ‘Slic3r::PrusaMultiMaterial::Writer::m_extrusion_flow’ will be initialized after [-Wreorder]
float m_extrusion_flow;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp:274:12: warning: ‘float Slic3r::PrusaMultiMaterial::Writer::m_layer_height’ [-Wreorder]
float m_layer_height;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp:25:2: warning: when initialized here [-Wreorder]
Writer() :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp: In member function ‘void Slic3r::WipeTowerPrusaMM::toolchange_Load(Slic3r::PrusaMultiMaterial::Writer&, const Slic3r::WipeTowerPrusaMM::box_coordinates&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp:849:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < pass; ++ i) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp: In member function ‘virtual Slic3r::WipeTower::ToolChangeResult Slic3r::WipeTowerPrusaMM::finish_layer(Slic3r::WipeTower::Purpose)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp:973:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = 0; i < nsteps; ++ i) {
^
[ 43%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/GCode.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:6:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.hpp: In constructor ‘Slic3r::GCodeWriter::GCodeWriter()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.hpp:75:21: warning: ‘Slic3r::GCodeWriter::m_extruder’ will be initialized after [-Wreorder]
Extruder* m_extruder;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.hpp:74:21: warning: ‘bool Slic3r::GCodeWriter::m_single_extruder_multi_material’ [-Wreorder]
bool m_single_extruder_multi_material;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:6:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.hpp:18:5: warning: when initialized here [-Wreorder]
GCodeWriter() :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/SpiralVase.hpp:5:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:15,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp: In constructor ‘Slic3r::GCodeReader::GCodeReader()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:134:17: warning: ‘Slic3r::GCodeReader::m_verbose’ will be initialized after [-Wreorder]
bool m_verbose;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:132:17: warning: ‘char Slic3r::GCodeReader::m_extrusion_axis’ [-Wreorder]
char m_extrusion_axis;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:73:5: warning: when initialized here [-Wreorder]
GCodeReader() : m_verbose(false), m_extrusion_axis('E') { memset(m_position, 0, sizeof(m_position));
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:19:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.hpp: In member function ‘bool Slic3r::EdgeGrid::Grid::cell_inside_or_crossing(int, int) const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.hpp:76:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r < 0 || r >= m_rows ||
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.hpp:77:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
c < 0 || c >= m_cols)
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp: In constructor ‘Slic3r::GCode::GCode()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:261:41: warning: ‘Slic3r::GCode::m_last_pos_defined’ will be initialized after [-Wreorder]
bool m_last_pos_defined;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:258:41: warning: ‘Slic3r::ExtrusionRole Slic3r::GCode::m_last_extrusion_role’ [-Wreorder]
ExtrusionRole m_last_extrusion_role;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.hpp:117:5: warning: when initialized here [-Wreorder]
GCode() :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:6:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.hpp: In constructor ‘Slic3r::WipeTowerPrusaMM::box_coordinates::box_coordinates(float, float, float, float)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.hpp:220:6: warning: ‘Slic3r::WipeTowerPrusaMM::box_coordinates::rd’ will be initialized after [-Wreorder]
xy rd; // right lower
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.hpp:219:6: warning: ‘Slic3r::WipeTower::xy Slic3r::WipeTowerPrusaMM::box_coordinates::ru’ [-Wreorder]
xy ru; // right upper
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.hpp:194:3: warning: when initialized here [-Wreorder]
box_coordinates(float left, float bottom, float width, float height) :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:21:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:21:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:21:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename) :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:21:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:21:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:24:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bool afl
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:21:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:21:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:21:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:27:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:21:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:21:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:30:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bo
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp: In member function ‘std::__cxx11::string Slic3r::WipeTowerIntegration::tool_change(Slic3r::GCode&, int, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:251:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (m_layer_idx < m_tool_changes.size()) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp: In member function ‘void Slic3r::GCode::_print_first_layer_extruder_temperatures(FILE*, Slic3r::Print&, const string&, unsigned int, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:914:13: warning: variable ‘temp’ set but not used [-Wunused-but-set-variable]
int temp = print.config.first_layer_temperature.get_at(first_printing_extruder_id);
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp: In member function ‘void Slic3r::GCode::process_layer(FILE*, const Slic3r::Print&, const std::vector<Slic3r::GCode::LayerToPrint>&, const Slic3r::ToolOrdering::LayerTools&, size_t)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1008:94: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
bool enable = (layer.id() > 0 || print.config.brim_width.value == 0.) && (layer.id() >= print.co
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1011:78: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (layer_region->region()->config.bottom_solid_layers.value > layer.id() ||
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1066:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(m_skirt_done.size() < print.config.skirt_height.value || print.has_infinite_skirt()) &&
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1070:72: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(first_layer || object_layer != nullptr || support_layer->id() < m_config.raft_layers.value);
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp: In member function ‘std::__cxx11::string Slic3r::GCode::extrude_loop(Slic3r::ExtrusionLoop, std::__cxx11::string, double, std::unique_ptr<Slic3r::EdgeGrid::Grid>*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1677:16: warning: enumeration value ‘spRandom’ not handled in switch [-Wswitch]
switch (seam_position) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1677:16: warning: enumeration value ‘spNearest’ not handled in switch [-Wswitch]
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1753:22: warning: unused variable ‘found’ [-Wunused-variable]
bool found = (*lower_layer_edge_grid)->signed_distance(p, search_r, dist);
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1708:21: warning: unused variable ‘penaltySeam’ [-Wunused-variable]
const float penaltySeam = 1.3f;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode.cpp:1698:15: warning: variable ‘last_pos_proj’ set but not used [-Wunused-but-set-variable]
Point last_pos_proj = polygon.points[last_pos_proj_idx];
^
[ 44%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/GCodeReader.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp: In constructor ‘Slic3r::GCodeReader::GCodeReader()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:134:17: warning: ‘Slic3r::GCodeReader::m_verbose’ will be initialized after [-Wreorder]
bool m_verbose;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:132:17: warning: ‘char Slic3r::GCodeReader::m_extrusion_axis’ [-Wreorder]
char m_extrusion_axis;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:73:5: warning: when initialized here [-Wreorder]
GCodeReader() : m_verbose(false), m_extrusion_axis('E') { memset(m_position, 0, sizeof(m_position));
^
[ 45%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/GCodeSender.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeSender.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeSender.hpp: In constructor ‘Slic3r::GCodeSender::GCodeSender()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeSender.hpp:53:12: warning: ‘Slic3r::GCodeSender::sent’ will be initialized after [-Wreorder]
size_t sent;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeSender.hpp:42:10: warning: ‘bool Slic3r::GCodeSender::open’ [-Wreorder]
bool open; // whether the serial socket is connected
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeSender.cpp:52:1: warning: when initialized here [-Wreorder]
GCodeSender::GCodeSender()
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeSender.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeSender.hpp:44:10: warning: ‘Slic3r::GCodeSender::error’ will be initialized after [-Wreorder]
bool error;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeSender.hpp:43:10: warning: ‘bool Slic3r::GCodeSender::connected’ [-Wreorder]
bool connected; // whether the printer is online
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeSender.cpp:52:1: warning: when initialized here [-Wreorder]
GCodeSender::GCodeSender()
^
[ 46%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/GCodeTimeEstimator.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeTimeEstimator.hpp:6:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeTimeEstimator.cpp:1:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp: In constructor ‘Slic3r::GCodeReader::GCodeReader()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:134:17: warning: ‘Slic3r::GCodeReader::m_verbose’ will be initialized after [-Wreorder]
bool m_verbose;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:132:17: warning: ‘char Slic3r::GCodeReader::m_extrusion_axis’ [-Wreorder]
char m_extrusion_axis;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeReader.hpp:73:5: warning: when initialized here [-Wreorder]
GCodeReader() : m_verbose(false), m_extrusion_axis('E') { memset(m_position, 0, sizeof(m_position));
^
[ 46%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/GCodeWriter.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.hpp: In constructor ‘Slic3r::GCodeWriter::GCodeWriter()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.hpp:75:21: warning: ‘Slic3r::GCodeWriter::m_extruder’ will be initialized after [-Wreorder]
Extruder* m_extruder;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.hpp:74:21: warning: ‘bool Slic3r::GCodeWriter::m_single_extruder_multi_material’ [-Wreorder]
bool m_single_extruder_multi_material;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCodeWriter.hpp:18:5: warning: when initialized here [-Wreorder]
GCodeWriter() :
^
[ 47%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Geometry.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Geometry.cpp: In member function ‘void Slic3r::Geometry::MedialAxis::build(Slic3r::ThickPolylines*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Geometry.cpp:858:35: warning: typedef ‘vert_t’ locally defined but not used [-Wunused-local-typedefs]
typedef const VD::vertex_type vert_t;
^
[ 48%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Layer.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Layer.cpp:6:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Layer.cpp:6:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:21:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename) :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Layer.cpp:6:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Layer.cpp:6:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:24:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bool afl
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Layer.cpp:6:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Layer.cpp:6:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Layer.cpp:6:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:27:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Layer.cpp:6:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Layer.cpp:6:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:30:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bo
^
[ 49%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/LayerRegion.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/LayerRegion.cpp:9:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/LayerRegion.cpp:9:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:21:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename) :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/LayerRegion.cpp:9:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/LayerRegion.cpp:9:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:24:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bool afl
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/LayerRegion.cpp:9:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/LayerRegion.cpp:9:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/LayerRegion.cpp:9:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:27:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/LayerRegion.cpp:9:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/LayerRegion.cpp:9:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:30:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bo
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/LayerRegion.cpp: In member function ‘void Slic3r::LayerRegion::process_external_surfaces(const Slic3r::Layer*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/LayerRegion.cpp:206:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
size_t group_id = (bridge_group[i] == -1) ? (n_groups ++) : bridge_group[i];
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/LayerRegion.cpp:215:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (bridge_group[j] != -1) {
^
[ 50%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Line.cpp.o
[ 51%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Model.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Model.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Model.hpp: In constructor ‘Slic3r::ModelObject::ModelObject(Slic3r::Model*, const Slic3r::ModelObject&, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Model.hpp:143:21: warning: ‘Slic3r::ModelObject::m_bounding_box_valid’ will be initialized after [-Wreorder]
bool m_bounding_box_valid;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Model.hpp:140:21: warning: ‘Slic3r::Model* Slic3r::ModelObject::m_model’ [-Wreorder]
Model *m_model;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Model.cpp:358:1: warning: when initialized here [-Wreorder]
ModelObject::ModelObject(Model *model, const ModelObject &other, bool copy_volumes) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Model.cpp: In member function ‘void Slic3r::ModelObject::split(Slic3r::ModelObjectPtrs*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Model.cpp:722:15: warning: unused variable ‘z0’ [-Wunused-variable]
float z0 = FLT_MAX;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Model.cpp: In member function ‘size_t Slic3r::ModelVolume::split()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Model.cpp:832:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
sprintf(str_idx, "_%d", idx + 1);
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Model.cpp: In member function ‘Slic3r::BoundingBoxf3 Slic3r::ModelInstance::transform_mesh_bounding_box(const Slic3r::TriangleMesh*, bool) const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Model.cpp:855:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < mesh->stl.stats.number_of_facets; ++ i) {
^
[ 52%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/MotionPlanner.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/MotionPlanner.cpp: In member function ‘Slic3r::Polyline Slic3r::MotionPlannerGraph::shortest_path(size_t, size_t) const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/MotionPlanner.cpp:335:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (u == node_end)
^
[ 53%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/MultiPoint.cpp.o
[ 54%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/PerimeterGenerator.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PerimeterGenerator.cpp: In member function ‘void Slic3r::PerimeterGenerator::process()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PerimeterGenerator.cpp:217:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < contours[t].size(); ++j) {
^
[ 55%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/PlaceholderParser.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp: In function ‘std::__cxx11::string Slic3r::process_macro(const string&, Slic3r::client::MyContext&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp:1145:10: warning: unused variable ‘res’ [-Wunused-variable]
bool res = phrase_parse(iter, end, macro_processor_instance(&context), space, output);
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp: In instantiation of ‘Slic3r::client::macro_processor<Iterator>::macro_processor() [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp:1139:33: required from here
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp:882:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
| conditional_expression(_r1) [ px::bind(&expr<Iterator>::evaluate_boolean_to_stri
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp: In instantiation of ‘static void Slic3r::client::expr<Iterator>::ternary_op(Slic3r::client::expr<Iterator>&, Slic3r::client::expr<Iterator>&, Slic3r::client::expr<Iterator>&) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp:947:103: required from ‘Slic3r::client::macro_processor<Iterator>::macro_processor() [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp:1139:33: required from here
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp:469:18: warning: unused variable ‘value’ [-Wunused-variable]
bool value = false;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp: In instantiation of ‘static void Slic3r::client::expr<Iterator>::regex_op(Slic3r::client::expr<Iterator>&, boost::iterator_range<IteratorT>&, char) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp:449:106: required from ‘static void Slic3r::client::expr<Iterator>::regex_matches(Slic3r::client::expr<Iterator>&, boost::iterator_range<IteratorT>&) [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp:965:72: required from ‘Slic3r::client::macro_processor<Iterator>::macro_processor() [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp:1139:33: required from here
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PlaceholderParser.cpp:427:32: warning: unused variable ‘mask’ [-Wunused-variable]
const std::string *mask = nullptr;
^
[ 56%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Point.cpp.o
[ 57%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Polygon.cpp.o
[ 58%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Polyline.cpp.o
[ 59%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/PolylineCollection.cpp.o
[ 60%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Print.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Print.cpp:8:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.hpp: In constructor ‘Slic3r::WipeTowerPrusaMM::box_coordinates::box_coordinates(float, float, float, float)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.hpp:220:6: warning: ‘Slic3r::WipeTowerPrusaMM::box_coordinates::rd’ will be initialized after [-Wreorder]
xy rd; // right lower
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.hpp:219:6: warning: ‘Slic3r::WipeTower::xy Slic3r::WipeTowerPrusaMM::box_coordinates::ru’ [-Wreorder]
xy ru; // right upper
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/GCode/WipeTowerPrusaMM.hpp:194:3: warning: when initialized here [-Wreorder]
box_coordinates(float left, float bottom, float width, float height) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Print.cpp: In member function ‘void Slic3r::Print::_make_skirt()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Print.cpp:903:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (extruder_idx + 1 < extruders.size())
^
[ 60%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/PrintConfig.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PrintConfig.cpp: In constructor ‘Slic3r::PrintConfigDef::PrintConfigDef()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PrintConfig.cpp:14:22: warning: unused variable ‘Options’ [-Wunused-variable]
t_optiondef_map &Options = this->options;
^
[ 61%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/PrintObject.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PrintObject.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Print.hpp: In constructor ‘Slic3r::PrintObject::PrintObject(Slic3r::Print*, Slic3r::ModelObject*, const Slic3r::BoundingBoxf3&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Print.hpp:211:18: warning: ‘Slic3r::PrintObject::_model_object’ will be initialized after [-Wreorder]
ModelObject* _model_object;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Print.hpp:114:27: warning: ‘bool Slic3r::PrintObject::layer_height_profile_valid’ [-Wreorder]
bool layer_height_profile_valid;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PrintObject.cpp:36:1: warning: when initialized here [-Wreorder]
PrintObject::PrintObject(Print* print, ModelObject* model_object, const BoundingBoxf3 &modobj_bbox) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PrintObject.cpp: In member function ‘void Slic3r::PrintObject::detect_surfaces_type()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PrintObject.cpp:404:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int idx_region = 0; idx_region < this->_print->regions.size(); ++ idx_region) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PrintObject.cpp: In lambda function:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PrintObject.cpp:802:40: warning: unused variable ‘neighbor_layer’ [-Wunused-variable]
Layer &neighbor_layer = *this->layers[n];
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PrintObject.cpp: In member function ‘void Slic3r::PrintObject::combine_infill()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/PrintObject.cpp:1867:95: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (current_height + layer->height >= nozzle_diameter + EPSILON || num_layers >= every) {
^
[ 62%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/PrintRegion.cpp.o
[ 63%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Slicing.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Slicing.cpp: In function ‘std::vector<double> Slic3r::layer_height_profile_from_ranges(const Slic3r::SlicingParameters&, const t_layer_height_ranges&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Slicing.cpp:189:18: warning: unused variable ‘last_height’ [-Wunused-variable]
coordf_t last_height = layer_height_profile.empty() ? 0. : layer_height_profile[layer_height_pro
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Slicing.cpp:205:14: warning: unused variable ‘last_height’ [-Wunused-variable]
coordf_t last_height = layer_height_profile.empty() ? 0. : layer_height_profile[layer_height_profile
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Slicing.cpp: In function ‘std::vector<double> Slic3r::layer_height_profile_adaptive(const Slic3r::SlicingParameters&, const t_layer_height_ranges&, const ModelVolumePtrs&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Slicing.cpp:247:14: warning: unused variable ‘cusp_height’ [-Wunused-variable]
coordf_t cusp_height = 0.;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Slicing.cpp: In function ‘void Slic3r::adjust_layer_height_profile(const Slic3r::SlicingParameters&, std::vector<double>&, coordf_t, coordf_t, coordf_t, Slic3r::LayerHeightEditActionType)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Slicing.cpp:403:18: warning: unused variable ‘height_new’ [-Wunused-variable]
coordf_t height_new = height;
^
[ 64%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/SlicingAdaptive.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SlicingAdaptive.cpp: In member function ‘void Slic3r::SlicingAdaptive::prepare()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SlicingAdaptive.cpp:30:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < (*it_mesh)->stl.stats.number_of_facets; ++ i)
^
[ 65%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/SupportMaterial.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp:8:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.hpp: In member function ‘bool Slic3r::EdgeGrid::Grid::cell_inside_or_crossing(int, int) const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.hpp:76:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (r < 0 || r >= m_rows ||
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/EdgeGrid.hpp:77:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
c < 0 || c >= m_cols)
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp: In member function ‘void Slic3r::PrintObjectSupportMaterial::generate(Slic3r::PrintObject&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp:363:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; j < layers_sorted.size() && layers_sorted[j]->print_z <= zmax; ++j) ;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp: In constructor ‘Slic3r::SupportGridPattern::SupportGridPattern(const Polygons&, const Polygons&, coordf_t, coordf_t)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp:629:29: warning: ‘Slic3r::SupportGridPattern::m_support_spacing’ will be initialized after [-Wreorder]
coordf_t m_support_spacing;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp:627:29: warning: ‘coordf_t Slic3r::SupportGridPattern::m_support_angle’ [-Wreorder]
coordf_t m_support_angle;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp:463:5: warning: when initialized here [-Wreorder]
SupportGridPattern(
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp: In lambda function:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp:712:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
(layer_id < this->m_object_config->support_material_enforce_layers.value) ?
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp: In member function ‘void Slic3r::LoopInterfaceProcessor::generate(Slic3r::MyLayerExtruded&, const Slic3r::Flow&) const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp:2118:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = 1; i < n_contact_loops; ++ i)
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Line.hpp:5:0,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Polygon.hpp:7,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ExPolygon.hpp:5,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/ClipperUtils.hpp:6,
from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp:1:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Point.hpp: In instantiation of ‘Slic3r::ClosestPointInRadiusLookup<ValueType, PointAccessor>::ClosestPointInRadiusLookup(coord_t, PointAccessor) [with ValueType = Slic3r::Point; PointAccessor = Slic3r::LoopInterfaceProcessor::generate(Slic3r::MyLayerExtruded&, const Slic3r::Flow&) const::PointAccessor; coord_t = int]’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp:2035:99: required from here
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Point.hpp:175:14: warning: ‘Slic3r::ClosestPointInRadiusLookup<Slic3r::Point, Slic3r::LoopInterfaceProcessor::generate(Slic3r::MyLayerExtruded&, const Slic3r::Flow&) const::PointAccessor>::m_search_radius’ will be initialized after [-Wreorder]
coord_t m_search_radius;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Point.hpp:173:19: warning: ‘Slic3r::LoopInterfaceProcessor::generate(Slic3r::MyLayerExtruded&, const Slic3r::Flow&) const::PointAccessor Slic3r::ClosestPointInRadiusLookup<Slic3r::Point, Slic3r::LoopInterfaceProcessor::generate(Slic3r::MyLayerExtruded&, const Slic3r::Flow&) const::PointAccessor>::m_point_accessor’ [-Wreorder]
PointAccessor m_point_accessor;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Point.hpp:95:5: warning: when initialized here [-Wreorder]
ClosestPointInRadiusLookup(coord_t search_radius, PointAccessor point_accessor = PointAccessor()) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Point.hpp: In instantiation of ‘Slic3r::ClosestPointInRadiusLookup<ValueType, PointAccessor>::ClosestPointInRadiusLookup(coord_t, PointAccessor) [with ValueType = Slic3r::modulate_extrusion_by_overlapping_layers(Slic3r::ExtrusionEntitiesPtr&, const Slic3r::PrintObjectSupportMaterial::MyLayer&, const MyLayersPtr&)::ExtrusionPathFragmentEnd; PointAccessor = Slic3r::modulate_extrusion_by_overlapping_layers(Slic3r::ExtrusionEntitiesPtr&, const Slic3r::PrintObjectSupportMaterial::MyLayer&, const MyLayersPtr&)::ExtrusionPathFragmentEndPointAccessor; coord_t = int]’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SupportMaterial.cpp:2367:77: required from here
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Point.hpp:175:14: warning: ‘Slic3r::ClosestPointInRadiusLookup<Slic3r::modulate_extrusion_by_overlapping_layers(Slic3r::ExtrusionEntitiesPtr&, const Slic3r::PrintObjectSupportMaterial::MyLayer&, const MyLayersPtr&)::ExtrusionPathFragmentEnd, Slic3r::modulate_extrusion_by_overlapping_layers(Slic3r::ExtrusionEntitiesPtr&, const Slic3r::PrintObjectSupportMaterial::MyLayer&, const MyLayersPtr&)::ExtrusionPathFragmentEndPointAccessor>::m_search_radius’ will be initialized after [-Wreorder]
coord_t m_search_radius;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Point.hpp:173:19: warning: ‘Slic3r::modulate_extrusion_by_overlapping_layers(Slic3r::ExtrusionEntitiesPtr&, const Slic3r::PrintObjectSupportMaterial::MyLayer&, const MyLayersPtr&)::ExtrusionPathFragmentEndPointAccessor Slic3r::ClosestPointInRadiusLookup<Slic3r::modulate_extrusion_by_overlapping_layers(Slic3r::ExtrusionEntitiesPtr&, const Slic3r::PrintObjectSupportMaterial::MyLayer&, const MyLayersPtr&)::ExtrusionPathFragmentEnd, Slic3r::modulate_extrusion_by_overlapping_layers(Slic3r::ExtrusionEntitiesPtr&, const Slic3r::PrintObjectSupportMaterial::MyLayer&, const MyLayersPtr&)::ExtrusionPathFragmentEndPointAccessor>::m_point_accessor’ [-Wreorder]
PointAccessor m_point_accessor;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Point.hpp:95:5: warning: when initialized here [-Wreorder]
ClosestPointInRadiusLookup(coord_t search_radius, PointAccessor point_accessor = PointAccessor()) :
^
[ 66%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/Surface.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Surface.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Surface.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:21:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename) :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Surface.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Surface.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:24:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bool afl
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Surface.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Surface.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Surface.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:27:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Surface.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/Surface.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:30:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bo
^
[ 67%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/SurfaceCollection.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SurfaceCollection.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SurfaceCollection.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:21:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename) :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SurfaceCollection.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SurfaceCollection.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:24:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bool afl
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SurfaceCollection.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SurfaceCollection.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SurfaceCollection.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:27:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SurfaceCollection.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SurfaceCollection.cpp:3:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:30:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bo
^
[ 68%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/SVG.cpp.o
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:21:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename) :
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const char*, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:24:5: warning: when initialized here [-Wreorder]
SVG(const char* afilename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bool afl
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:19:10: warning: ‘bool Slic3r::SVG::flipY’ [-Wreorder]
bool flipY;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:27:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename) :
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp: In constructor ‘Slic3r::SVG::SVG(const string&, const Slic3r::BoundingBox&, coord_t, bool)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:81:17: warning: ‘Slic3r::SVG::filename’ will be initialized after [-Wreorder]
std::string filename;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:18:11: warning: ‘Slic3r::Point Slic3r::SVG::origin’ [-Wreorder]
Point origin;
^
In file included from /home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.cpp:1:0:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/SVG.hpp:30:5: warning: when initialized here [-Wreorder]
SVG(const std::string &filename, const BoundingBox &bbox, const coord_t bbox_offset = scale_(1.), bo
^
[ 69%] Building CXX object xs/CMakeFiles/libslic3r.dir/src/libslic3r/TriangleMesh.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp: In constructor ‘Slic3r::TriangleMesh::TriangleMesh(const Pointf3s&, const std::vector<Slic3r::Point3, std::allocator<Slic3r::Point3> >&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:52:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < stl.stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp: In member function ‘void Slic3r::TriangleMesh::repair()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:176:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (stl.stats.connected_facets_3_edge < stl.stats.number_of_facets) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:178:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (stl.stats.connected_facets_3_edge < stl.stats.number_of_facets) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:191:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (stl.stats.connected_facets_3_edge < stl.stats.number_of_facets) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:196:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (stl.stats.connected_facets_3_edge < stl.stats.number_of_facets) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp: In member function ‘void Slic3r::TriangleMesh::check_topology()’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:240:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (stl.stats.connected_facets_3_edge < stl.stats.number_of_facets) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:242:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (stl.stats.connected_facets_3_edge < stl.stats.number_of_facets) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp: In member function ‘bool Slic3r::TriangleMesh::is_manifold() const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:257:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return this->stl.stats.connected_facets_3_edge == this->stl.stats.number_of_facets;
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp: In member function ‘bool Slic3r::TriangleMesh::has_multiple_patches() const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:420:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int facet_idx = 0; facet_idx < this->stl.stats.number_of_facets; ++ facet_idx)
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp: In member function ‘size_t Slic3r::TriangleMesh::number_of_patches() const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:441:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; facet_idx < this->stl.stats.number_of_facets; ++ facet_idx)
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:448:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (facet_idx == this->stl.stats.number_of_facets)
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp: In member function ‘Slic3r::TriangleMeshPtrs Slic3r::TriangleMesh::split() const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:480:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int facet_idx = 0; facet_idx < this->stl.stats.number_of_facets; facet_idx++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp: In member function ‘void Slic3r::TriangleMesh::merge(const Slic3r::TriangleMesh&)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:533:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < mesh.stl.stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp: In member function ‘Slic3r::ExPolygons Slic3r::TriangleMesh::horizontal_projection() const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:547:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < this->stl.stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp: In constructor ‘Slic3r::TriangleMeshSlicer::TriangleMeshSlicer(Slic3r::TriangleMesh*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:630:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int facet_idx = 0; facet_idx < this->mesh->stl.stats.number_of_facets; ++ facet_idx)
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp: In member function ‘bool Slic3r::TriangleMeshSlicer::slice_facet(float, const stl_facet&, int, float, float, Slic3r::IntersectionLine*) const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:929:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = points_on_layer[1]; i < num_points; ++ i)
^
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp: In member function ‘void Slic3r::TriangleMeshSlicer::cut(float, Slic3r::TriangleMesh*, Slic3r::TriangleMesh*) const’:
/home/xxxx/Development/3d/Slic3r/xs/src/libslic3r/TriangleMesh.cpp:1240:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int facet_idx = 0; facet_idx < this->mesh->stl.stats.number_of_facets; ++ facet_idx) {
^
[ 70%] Linking CXX static library liblibslic3r.a
[ 70%] Built target libslic3r
Scanning dependencies of target poly2tri
[ 71%] Building CXX object xs/CMakeFiles/poly2tri.dir/src/poly2tri/common/shapes.cc.o
[ 72%] Building CXX object xs/CMakeFiles/poly2tri.dir/src/poly2tri/sweep/advancing_front.cc.o
[ 73%] Building CXX object xs/CMakeFiles/poly2tri.dir/src/poly2tri/sweep/cdt.cc.o
[ 74%] Building CXX object xs/CMakeFiles/poly2tri.dir/src/poly2tri/sweep/sweep.cc.o
[ 75%] Building CXX object xs/CMakeFiles/poly2tri.dir/src/poly2tri/sweep/sweep_context.cc.o
[ 76%] Linking CXX static library libpoly2tri.a
[ 76%] Built target poly2tri
Scanning dependencies of target admesh
[ 76%] Building CXX object xs/CMakeFiles/admesh.dir/src/admesh/connect.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp: In function ‘void stl_check_facets_exact(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:83:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp: In function ‘void stl_initialize_facet_check_exact(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:171:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets ; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp: In function ‘void stl_check_facets_nearby(stl_file*, float)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:280:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( (stl->stats.connected_facets_1_edge == stl->stats.number_of_facets)
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:281:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
&& (stl->stats.connected_facets_2_edge == stl->stats.number_of_facets)
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:282:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
&& (stl->stats.connected_facets_3_edge == stl->stats.number_of_facets)) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:289:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp: In function ‘void stl_remove_facet(stl_file*, int)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:707:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stl->neighbors_start[neighbor[i]].neighbor[(vnot[i] + 1)% 3] !=
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp: In function ‘void stl_remove_unconnected_facets(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:734:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:746:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stl->stats.connected_facets_1_edge < stl->stats.number_of_facets) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:748:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp: In function ‘void stl_fill_holes(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:877:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:890:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp: In function ‘void stl_add_facet(stl_file*, stl_facet*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/connect.cpp:968:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stl->stats.facets_malloced < stl->stats.number_of_facets + 1) {
^
[ 77%] Building CXX object xs/CMakeFiles/admesh.dir/src/admesh/normals.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/normals.cpp: In function ‘void stl_fix_normal_directions(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/normals.cpp:172:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(checked >= stl->stats.number_of_facets) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/normals.cpp:177:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/normals.cpp: In function ‘void stl_fix_normal_values(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/normals.cpp:304:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/normals.cpp: In function ‘void stl_reverse_all_facets(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/normals.cpp:316:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
[ 78%] Building CXX object xs/CMakeFiles/admesh.dir/src/admesh/shared.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/shared.cpp: In function ‘void stl_generate_shared_vertices(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/shared.cpp:71:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/shared.cpp:78:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/shared.cpp: In function ‘void stl_write_off(stl_file*, char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/shared.cpp:174:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/shared.cpp: In function ‘void stl_write_vrml(stl_file*, char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/shared.cpp:227:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < (stl->stats.number_of_facets - 1); i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/shared.cpp: In function ‘void stl_write_obj(stl_file*, char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/shared.cpp:259:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < stl->stats.number_of_facets; i++) {
^
[ 79%] Building CXX object xs/CMakeFiles/admesh.dir/src/admesh/stl_io.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stl_io.cpp: In function ‘void stl_write_ascii(stl_file*, const char*, const char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stl_io.cpp:150:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stl_io.cpp: In function ‘void stl_print_neighbors(stl_file*, char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stl_io.cpp:194:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stl_io.cpp: In function ‘void stl_write_binary(stl_file*, const char*, const char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stl_io.cpp:245:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < stl->stats.number_of_facets; ++ i)
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stl_io.cpp: In function ‘void stl_write_quad_object(stl_file*, char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stl_io.cpp:347:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stl_io.cpp: In function ‘void stl_write_dxf(stl_file*, char*, char*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stl_io.cpp:409:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
[ 80%] Building CXX object xs/CMakeFiles/admesh.dir/src/admesh/stlinit.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stlinit.cpp: In function ‘void stl_read(stl_file*, int, int)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stlinit.cpp:272:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = first_facet; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stlinit.cpp:290:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(stl->fp, "endsolid\n");
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/stlinit.cpp:291:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(stl->fp, "solid%*[^\n]\n"); // name might contain spaces so %*s doesn't work and it also c
^
[ 81%] Building CXX object xs/CMakeFiles/admesh.dir/src/admesh/util.cpp.o
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_verify_neighbors(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:48:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_translate(stl_file*, float, float, float)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:83:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_translate_relative(stl_file*, float, float, float)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:108:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_scale_versor(stl_file*, float*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:150:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_transform(stl_file*, float*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:191:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i_face = 0; i_face < stl->stats.number_of_facets; ++ i_face) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_rotate_x(stl_file*, float)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:215:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_rotate_y(stl_file*, float)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:235:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_rotate_z(stl_file*, float)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:255:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_get_size(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:290:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_mirror_xy(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:324:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_mirror_yz(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:346:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_mirror_xz(stl_file*)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:368:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < stl->stats.number_of_facets; i++) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp: In function ‘void stl_repair(stl_file*, int, int, int, float, int, float, int, int, int, int, int, int, int, int)’:
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:496:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stl->stats.connected_facets_3_edge < stl->stats.number_of_facets) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:498:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stl->stats.connected_facets_3_edge <
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:524:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stl->stats.connected_facets_3_edge < stl->stats.number_of_facets) {
^
/home/xxxx/Development/3d/Slic3r/xs/src/admesh/util.cpp:534:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(stl->stats.connected_facets_3_edge < stl->stats.number_of_facets) {
^
[ 82%] Linking CXX static library libadmesh.a
[ 82%] Built target admesh
Scanning dependencies of target slic3r
[ 83%] Building CXX object xs/CMakeFiles/slic3r.dir/__/src/slic3r.cpp.o
[ 84%] Linking CXX executable slic3r
[ 84%] Built target slic3r
Scanning dependencies of target nowide
[ 85%] Building CXX object xs/CMakeFiles/nowide.dir/src/boost/nowide/iostream.cpp.o
[ 86%] Linking CXX static library libnowide.a
[ 86%] Built target nowide
Scanning dependencies of target Shiny
[ 86%] Building C object xs/CMakeFiles/Shiny.dir/src/Shiny/ShinyManager.c.o
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-fext-numeric-literals’ is valid for C++/ObjC++ but not for C
[ 87%] Building C object xs/CMakeFiles/Shiny.dir/src/Shiny/ShinyNode.c.o
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-fext-numeric-literals’ is valid for C++/ObjC++ but not for C
[ 88%] Building C object xs/CMakeFiles/Shiny.dir/src/Shiny/ShinyNodePool.c.o
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-fext-numeric-literals’ is valid for C++/ObjC++ but not for C
[ 89%] Building C object xs/CMakeFiles/Shiny.dir/src/Shiny/ShinyNodeState.c.o
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-fext-numeric-literals’ is valid for C++/ObjC++ but not for C
[ 90%] Building C object xs/CMakeFiles/Shiny.dir/src/Shiny/ShinyOutput.c.o
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-fext-numeric-literals’ is valid for C++/ObjC++ but not for C
[ 91%] Building C object xs/CMakeFiles/Shiny.dir/src/Shiny/ShinyTools.c.o
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-fext-numeric-literals’ is valid for C++/ObjC++ but not for C
[ 92%] Building C object xs/CMakeFiles/Shiny.dir/src/Shiny/ShinyZone.c.o
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-fext-numeric-literals’ is valid for C++/ObjC++ but not for C
[ 93%] Linking C static library libShiny.a
[ 93%] Built target Shiny
[ 94%] Generating typemap
Can't locate ExtUtils/Typemaps/Basic.pm in @INC (you may need to install the ExtUtils::Typemaps::Basic module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .).
BEGIN failed--compilation aborted.
xs/CMakeFiles/XS.dir/build.make:101: recipe for target 'xs/typemap' failed
make[2]: *** [xs/typemap] Error 2
CMakeFiles/Makefile2:447: recipe for target 'xs/CMakeFiles/XS.dir/all' failed
make[1]: *** [xs/CMakeFiles/XS.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment