clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 pool/symbol.cpp -o pool/symbol.o In file included from pool/symbol.cpp:1: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from pool/symbol.cpp:1: In file included from pool/symbol.hpp:4: common/common.hpp:61:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] std::array as_array () const {return {x, y};} ^~~~ { } pool/symbol.cpp:32:28: note: in instantiation of member function 'horizon::Coord::as_array' requested here j["position"] = position.as_array(); ^ In file included from pool/symbol.cpp:1: In file included from pool/symbol.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/symbol.cpp:138:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here pins = sym.pins; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from pool/symbol.cpp:1: In file included from pool/symbol.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:295:16: error: object of type 'horizon::SymbolPin' cannot be assigned because its copy assignment operator is implicitly deleted second = __p.second; ^ pool/symbol.hpp:28:15: note: copy assignment operator of 'SymbolPin' is implicitly deleted because field 'uuid' has no copy assignment operator const UUID uuid; ^ In file included from pool/symbol.cpp:1: In file included from pool/symbol.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/symbol.cpp:139:13: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here junctions = sym.junctions; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from pool/symbol.cpp:1: In file included from pool/symbol.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/symbol.cpp:140:9: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here lines = sym.lines; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from pool/symbol.cpp:1: In file included from pool/symbol.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/symbol.cpp:141:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here arcs = sym.arcs; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from pool/symbol.cpp:1: In file included from pool/symbol.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/symbol.cpp:142:9: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here texts = sym.texts; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const 4 warnings and 6 errors generated. gmake: *** [pool/symbol.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 pool/part.cpp -o pool/part.o In file included from pool/part.cpp:1: In file included from pool/part.hpp:4: In file included from pool/package.hpp:7: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from pool/part.cpp:1: In file included from pool/part.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/part.cpp:17:12: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here pad_map = base->pad_map; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const 3 warnings and 1 error generated. gmake: *** [pool/part.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 block/block.cpp -o block/block.o In file included from block/block.cpp:1: In file included from block/block.hpp:4: In file included from pool/pool.hpp:8: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from block/block.cpp:1: In file included from block/block.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ block/block.cpp:132:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here nets = block.nets; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from block/block.cpp:1: In file included from block/block.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ block/block.cpp:133:9: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here buses = block.buses; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from block/block.cpp:1: In file included from block/block.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ block/bus.hpp:15:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here class Bus :public UUIDProvider{ ^ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ block/block.cpp:133:9: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here buses = block.buses; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from block/block.cpp:1: In file included from block/block.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ block/block.cpp:134:14: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here components = block.components; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from block/block.cpp:1: In file included from block/block.hpp:4: In file included from pool/pool.hpp:8: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } block/block.cpp:168:16: note: in instantiation of member function 'horizon::UUIDPath<2>::UUIDPath' requested here UUIDPath<2> conn_path(it.at(1), it.at(2)); ^ 4 warnings and 4 errors generated. gmake: *** [block/block.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 schematic/schematic.cpp -o schematic/schematic.o In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:6: In file included from block/block.hpp:4: In file included from pool/pool.hpp:8: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } schematic/schematic.cpp:76:41: note: in instantiation of member function 'horizon::UUIDPath<2>::UUIDPath' requested here if(sym->component->connections.count(UUIDPath<2>(sym->gate->uuid, it_pin.first))) ^ In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/schematic.cpp:610:10: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here sheets = sch.sheets; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/sheet.hpp:35:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here class Sheet { ^ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/schematic.cpp:610:10: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here sheets = sch.sheets; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/sheet.hpp:35:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here class Sheet { ^ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/schematic.cpp:610:10: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here sheets = sch.sheets; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/sheet.hpp:35:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here class Sheet { ^ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/schematic.cpp:610:10: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here sheets = sch.sheets; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:295:16: error: object of type 'horizon::LineNet' cannot be assigned because its copy assignment operator is implicitly deleted second = __p.second; ^ schematic/line_net.hpp:40:15: note: copy assignment operator of 'LineNet' is implicitly deleted because field 'uuid' has no copy assignment operator const UUID uuid; ^ In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/sheet.hpp:35:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here class Sheet { ^ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/schematic.cpp:610:10: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here sheets = sch.sheets; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/sheet.hpp:35:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here class Sheet { ^ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/schematic.cpp:610:10: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here sheets = sch.sheets; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:295:16: error: object of type 'horizon::NetLabel' cannot be assigned because its copy assignment operator is implicitly deleted second = __p.second; ^ schematic/net_label.hpp:21:15: note: copy assignment operator of 'NetLabel' is implicitly deleted because field 'uuid' has no copy assignment operator const UUID uuid; ^ In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/sheet.hpp:35:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here class Sheet { ^ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/schematic.cpp:610:10: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here sheets = sch.sheets; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:295:16: error: object of type 'horizon::PowerSymbol' cannot be assigned because its copy assignment operator is implicitly deleted second = __p.second; ^ schematic/power_symbol.hpp:24:15: note: copy assignment operator of 'PowerSymbol' is implicitly deleted because field 'uuid' has no copy assignment operator const UUID uuid; ^ In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/sheet.hpp:35:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here class Sheet { ^ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/schematic.cpp:610:10: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here sheets = sch.sheets; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:295:16: error: object of type 'horizon::BusLabel' cannot be assigned because its copy assignment operator is implicitly deleted second = __p.second; ^ schematic/bus_label.hpp:22:15: note: copy assignment operator of 'BusLabel' is implicitly deleted because field 'uuid' has no copy assignment operator const UUID uuid; ^ In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/sheet.hpp:35:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here class Sheet { ^ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ schematic/schematic.cpp:610:10: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here sheets = sch.sheets; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from schematic/schematic.cpp:1: In file included from schematic/schematic.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:295:16: error: object of type 'horizon::BusRipper' cannot be assigned because its copy assignment operator is implicitly deleted second = __p.second; ^ schematic/bus_ripper.hpp:23:15: note: copy assignment operator of 'BusRipper' is implicitly deleted because field 'uuid' has no copy assignment operator const UUID uuid; ^ 4 warnings and 14 errors generated. gmake: *** [schematic/schematic.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 pool/package.cpp -o pool/package.o In file included from pool/package.cpp:1: In file included from pool/package.hpp:7: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from pool/package.cpp:1: In file included from pool/package.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/package.cpp:96:13: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here junctions = pkg.junctions; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from pool/package.cpp:1: In file included from pool/package.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/package.cpp:97:9: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here lines = pkg.lines; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from pool/package.cpp:1: In file included from pool/package.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/package.cpp:98:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here arcs = pkg.arcs; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from pool/package.cpp:1: In file included from pool/package.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/package.cpp:99:9: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here texts = pkg.texts; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from pool/package.cpp:1: In file included from pool/package.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/package.cpp:100:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here pads = pkg.pads; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from pool/package.cpp:1: In file included from pool/package.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/padstack.hpp:18:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here class Padstack : public UUIDProvider { ^ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/package.cpp:100:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here pads = pkg.pads; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from pool/package.cpp:1: In file included from pool/package.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/package.cpp:101:12: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here polygons = pkg.polygons; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const 3 warnings and 7 errors generated. gmake: *** [pool/package.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 board/board.cpp -o board/board.o In file included from board/board.cpp:1: In file included from board/board.hpp:4: In file included from pool/pool.hpp:8: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from board/board.cpp:1: In file included from board/board.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ board/board.cpp:120:12: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here polygons = brd.polygons; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from board/board.cpp:1: In file included from board/board.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ board/board.cpp:121:9: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here holes = brd.holes; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from board/board.cpp:1: In file included from board/board.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ board/board.cpp:123:12: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here packages = brd.packages; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from board/board.cpp:1: In file included from board/board.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ board/board.cpp:124:13: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here junctions = brd.junctions; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from board/board.cpp:1: In file included from board/board.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ board/board.cpp:125:10: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here tracks = brd.tracks; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from board/board.cpp:1: In file included from board/board.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ board/board.cpp:127:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here vias = brd.vias; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from board/board.cpp:1: In file included from board/board.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ board/board.cpp:128:9: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here texts = brd.texts; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from board/board.cpp:1: In file included from board/board.hpp:4: In file included from pool/pool.hpp:8: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } board/board.cpp:454:21: note: in instantiation of member function 'horizon::UUIDPath<2>::UUIDPath' requested here auto pin_path = UUIDPath<2>(pad_map_item.gate->uuid, pad_map_item.pin->uuid); ^ 4 warnings and 7 errors generated. gmake: *** [board/board.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 object_descr.cpp -o object_descr.o In file included from object_descr.cpp:1: ./object_descr.hpp:15:15: error: implicit instantiation of undefined template 'std::__1::basic_string, std::__1::allocator >' std::string label; ^ /usr/include/c++/v1/iosfwd:188:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ In file included from object_descr.cpp:1: ./object_descr.hpp:26:15: error: implicit instantiation of undefined template 'std::__1::basic_string, std::__1::allocator >' std::string name; ^ /usr/include/c++/v1/iosfwd:188:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ In file included from object_descr.cpp:1: ./object_descr.hpp:27:15: error: implicit instantiation of undefined template 'std::__1::basic_string, std::__1::allocator >' std::string name_pl; ^ /usr/include/c++/v1/iosfwd:188:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ object_descr.cpp:4:48: error: no matching constructor for initialization of 'const std::map' const std::map object_descriptions = { ^ ~ /usr/include/c++/v1/map:851:9: note: candidate constructor template not viable: requires at most 3 arguments, but 22 were provided map(_InputIterator __f, _InputIterator __l, ^ /usr/include/c++/v1/map:860:9: note: candidate constructor template not viable: requires 4 arguments, but 22 were provided map(_InputIterator __f, _InputIterator __l, ^ /usr/include/c++/v1/map:870:5: note: candidate constructor template not viable: requires 3 arguments, but 22 were provided map(_InputIterator __f, _InputIterator __l, const allocator_type& __a) ^ /usr/include/c++/v1/map:928:5: note: candidate constructor not viable: requires 3 arguments, but 22 were provided map(initializer_list __il, const key_compare& __comp, const allocator_type& __a) ^ /usr/include/c++/v1/map:846:14: note: candidate constructor not viable: requires 2 arguments, but 22 were provided explicit map(const key_compare& __comp, const allocator_type& __a) ^ /usr/include/c++/v1/map:906:5: note: candidate constructor not viable: requires 2 arguments, but 22 were provided map(map&& __m, const allocator_type& __a); ^ /usr/include/c++/v1/map:921:5: note: candidate constructor not viable: requires at most 2 arguments, but 22 were provided map(initializer_list __il, const key_compare& __comp = key_compare()) ^ /usr/include/c++/v1/map:936:5: note: candidate constructor not viable: requires 2 arguments, but 22 were provided map(initializer_list __il, const allocator_type& __a) ^ /usr/include/c++/v1/map:956:5: note: candidate constructor not viable: requires 2 arguments, but 22 were provided map(const map& __m, const allocator_type& __a) ^ /usr/include/c++/v1/map:838:14: note: candidate constructor not viable: allows at most single argument '__comp', but 22 arguments were provided explicit map(const key_compare& __comp = key_compare()) ^ /usr/include/c++/v1/map:875:5: note: candidate constructor not viable: requires single argument '__m', but 22 arguments were provided map(const map& __m) ^ /usr/include/c++/v1/map:900:5: note: candidate constructor not viable: requires single argument '__m', but 22 arguments were provided map(map&& __m) ^ /usr/include/c++/v1/map:950:14: note: candidate constructor not viable: requires single argument '__a', but 22 arguments were provided explicit map(const allocator_type& __a) ^ 4 errors generated. gmake: *** [object_descr.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 imp/imp_main.cpp -o imp/imp_main.o In file included from imp/imp_main.cpp:3: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from imp/imp_main.cpp:12: In file included from ./canvas/canvas.hpp:8: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from imp/imp_main.cpp:12: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:16:14: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *get_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:17:10: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *get_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:19:9: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *get_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:21:14: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *insert_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:22:9: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:23:10: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *insert_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:24:9: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:25:9: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *insert_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:26:9: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:32:23: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_lines(bool work=true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:33:22: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_arcs(bool work=true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:36:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:37:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:38:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:39:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:41:16: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:43:9: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:44:9: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:46:12: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:47:9: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:65:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:66:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:17:22: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *get_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:18:18: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *get_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:19:17: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *get_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:23:18: warning: 'get_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *get_text(const UUID &uu, bool work=true); ^ ./core/core.hpp:86:18: note: overridden virtual function is here virtual Text *get_text(const UUID &uu, bool work=true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:25:22: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:26:17: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:27:18: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *insert_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:28:17: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:29:17: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:30:17: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:37:18: warning: 'insert_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *insert_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:85:18: note: overridden virtual function is here virtual Text *insert_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:38:17: warning: 'delete_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:87:17: note: overridden virtual function is here virtual void delete_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:40:31: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_lines(bool work = true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:41:30: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_arcs(bool work = true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:45:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:47:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:48:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:50:20: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:51:17: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:53:17: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:54:17: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:56:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:57:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:58:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:59:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:89:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:90:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:18:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:19:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:20:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:21:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:41:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:42:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:7: ./core/core_package.hpp:25:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:7: ./core/core_package.hpp:27:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:7: ./core/core_package.hpp:28:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:7: ./core/core_package.hpp:30:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:7: ./core/core_package.hpp:31:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:7: ./core/core_package.hpp:32:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:7: ./core/core_package.hpp:33:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:7: ./core/core_package.hpp:59:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_main.cpp:14: In file included from imp/imp.hpp:7: ./core/core_package.hpp:60:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_main.cpp:15: imp/imp_symbol.hpp:14:9: warning: 'canvas_update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void canvas_update(); ^ imp/imp.hpp:45:17: note: overridden virtual function is here virtual void canvas_update() = 0; ^ In file included from imp/imp_main.cpp:16: imp/imp_schematic.hpp:14:9: warning: 'canvas_update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void canvas_update(); ^ imp/imp.hpp:45:17: note: overridden virtual function is here virtual void canvas_update() = 0; ^ In file included from imp/imp_main.cpp:16: imp/imp_schematic.hpp:21:9: warning: 'handle_tool_change' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void handle_tool_change(ToolID id); ^ imp/imp.hpp:25:17: note: overridden virtual function is here virtual void handle_tool_change(ToolID id); ^ In file included from imp/imp_main.cpp:17: imp/imp_padstack.hpp:14:9: warning: 'canvas_update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void canvas_update(); ^ imp/imp.hpp:45:17: note: overridden virtual function is here virtual void canvas_update() = 0; ^ In file included from imp/imp_main.cpp:18: imp/imp_package.hpp:14:9: warning: 'canvas_update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void canvas_update(); ^ imp/imp.hpp:45:17: note: overridden virtual function is here virtual void canvas_update() = 0; ^ In file included from imp/imp_main.cpp:19: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_main.cpp:19: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:24:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from imp/imp_main.cpp:19: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:28:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_main.cpp:19: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:29:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_main.cpp:19: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:30:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_main.cpp:19: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:31:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_main.cpp:19: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:70:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_main.cpp:19: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:71:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_main.cpp:19: imp/imp_board.hpp:18:9: warning: 'canvas_update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void canvas_update(); ^ imp/imp.hpp:45:17: note: overridden virtual function is here virtual void canvas_update() = 0; ^ 86 warnings and 3 errors generated. gmake: *** [imp/imp_main.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 imp/main_window.cpp -o imp/main_window.o In file included from imp/main_window.cpp:1: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:8: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from imp/main_window.cpp:1: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:10: In file included from ./canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from imp/main_window.cpp:1: In file included from imp/main_window.hpp:3: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ imp/main_window.cpp:17:17: error: no matching member function for call to 'pack_start' gl_container->pack_start(*canvas, true, true, 0); ~~~~~~~~~~~~~~^~~~~~~~~~ /usr/local/include/gtkmm-3.0/gtkmm/box.h:201:8: note: candidate function not viable: no known conversion from 'horizon::CanvasGL' to 'Gtk::Widget &' for 1st argument void pack_start(Widget& child, bool expand, bool fill, guint padding = 0); ^ /usr/local/include/gtkmm-3.0/gtkmm/box.h:208:8: note: candidate function not viable: requires at most 3 arguments, but 4 were provided void pack_start(Widget& child, PackOptions options = PACK_EXPAND_WIDGET, guint padding = 0); ^ In file included from imp/main_window.cpp:1: In file included from imp/main_window.hpp:2: In file included from /usr/local/include/gtkmm-3.0/gtkmm.h:95: In file included from /usr/local/include/gtkmm-3.0/gtkmm/toggleaction.h:28: In file included from /usr/local/include/gtkmm-3.0/gtkmm/action.h:32: In file included from /usr/local/include/gtkmm-3.0/gtkmm/widget.h:40: /usr/local/include/gtkmm-3.0/gtkmm/object.h:43:8: error: no member named 'set_manage' in 'horizon::CanvasGL' obj->set_manage(); ~~~ ^ imp/main_window.cpp:16:17: note: in instantiation of function template specialization 'Gtk::manage' requested here canvas = Gtk::manage(new CanvasGL()); ^ 7 warnings and 5 errors generated. gmake: *** [imp/main_window.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 imp/imp.cpp -o imp/imp.o In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:8: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:10: In file included from ./canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:16:14: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *get_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:17:10: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *get_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:19:9: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *get_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:21:14: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *insert_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:22:9: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:23:10: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *insert_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:24:9: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:25:9: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *insert_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:26:9: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:32:23: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_lines(bool work=true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:33:22: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_arcs(bool work=true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:36:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:37:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:38:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:39:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:41:16: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:43:9: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:44:9: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:46:12: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:47:9: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:65:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:66:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:17:22: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *get_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:18:18: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *get_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:19:17: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *get_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:23:18: warning: 'get_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *get_text(const UUID &uu, bool work=true); ^ ./core/core.hpp:86:18: note: overridden virtual function is here virtual Text *get_text(const UUID &uu, bool work=true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:25:22: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:26:17: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:27:18: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *insert_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:28:17: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:29:17: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:30:17: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:37:18: warning: 'insert_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *insert_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:85:18: note: overridden virtual function is here virtual Text *insert_text(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:38:17: warning: 'delete_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:87:17: note: overridden virtual function is here virtual void delete_text(const UUID &uu, bool work = true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:40:31: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_lines(bool work = true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:41:30: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_arcs(bool work = true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:45:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:47:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:48:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:50:20: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:51:17: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:53:17: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:54:17: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:56:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:57:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:58:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:59:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:89:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:90:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:18:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:19:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:20:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:21:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:41:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:42:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:7: ./core/core_package.hpp:25:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:7: ./core/core_package.hpp:27:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:7: ./core/core_package.hpp:28:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:7: ./core/core_package.hpp:30:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:7: ./core/core_package.hpp:31:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:7: ./core/core_package.hpp:32:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:7: ./core/core_package.hpp:33:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:7: ./core/core_package.hpp:59:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp.cpp:1: In file included from imp/imp.hpp:7: ./core/core_package.hpp:60:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp.cpp:4: ./core/core_board.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp.cpp:4: ./core/core_board.hpp:24:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from imp/imp.cpp:4: ./core/core_board.hpp:28:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp.cpp:4: ./core/core_board.hpp:29:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp.cpp:4: ./core/core_board.hpp:30:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp.cpp:4: ./core/core_board.hpp:31:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp.cpp:4: ./core/core_board.hpp:70:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp.cpp:4: ./core/core_board.hpp:71:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ imp/imp.cpp:29:11: error: no member named 'signal_key_press_event' in 'horizon::CanvasGL' canvas->signal_key_press_event().connect(sigc::mem_fun(this, &ImpBase::handle_key_press)); ~~~~~~ ^ imp/imp.cpp:31:11: error: no member named 'signal_button_press_event' in 'horizon::CanvasGL' canvas->signal_button_press_event().connect(sigc::mem_fun(this, &ImpBase::handle_click)); ~~~~~~ ^ imp/imp.cpp:45:34: error: no matching constructor for initialization of 'horizon::ToolPopover' tool_popover = Gtk::manage(new ToolPopover(canvas)); ^ ~~~~~~ imp/tool_popover.hpp:7:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'horizon::CanvasGL *' to 'const horizon::ToolPopover' for 1st argument class ToolPopover : public Gtk::Popover { ^ imp/tool_popover.hpp:9:4: note: candidate constructor not viable: no known conversion from 'horizon::CanvasGL *' to 'Gtk::Widget *' for 1st argument ToolPopover(Gtk::Widget *parent); ^ imp/imp.cpp:136:27: error: chosen constructor is explicit in copy-initialization canvas->set_selection({}); ^~ /usr/include/c++/v1/set:428:14: note: constructor declared here explicit set(const value_compare& __comp = value_compare()) ^ ./canvas/canvas.hpp:127:54: note: passing argument to parameter 'sel' here void set_selection(const std::set &sel, bool emit=true); ^ imp/imp.cpp:170:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] else if((key_event->keyval == GDK_KEY_space)) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ imp/imp.cpp:170:32: note: remove extraneous parentheses around the comparison to silence this warning else if((key_event->keyval == GDK_KEY_space)) { ~ ^ ~ imp/imp.cpp:170:32: note: use '=' to turn this equality comparison into an assignment else if((key_event->keyval == GDK_KEY_space)) { ^~ = imp/imp.cpp:192:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] else if((key_event->keyval == GDK_KEY_Home)) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ imp/imp.cpp:192:32: note: remove extraneous parentheses around the comparison to silence this warning else if((key_event->keyval == GDK_KEY_Home)) { ~ ^ ~ imp/imp.cpp:192:32: note: use '=' to turn this equality comparison into an assignment else if((key_event->keyval == GDK_KEY_Home)) { ^~ = 82 warnings and 7 errors generated. gmake: *** [imp/imp.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 imp/imp_layer.cpp -o imp/imp_layer.o In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:8: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:10: In file included from ./canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:16:14: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *get_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:17:10: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *get_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:19:9: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *get_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:21:14: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *insert_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:22:9: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:23:10: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *insert_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:24:9: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:25:9: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *insert_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:26:9: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:32:23: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_lines(bool work=true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:33:22: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_arcs(bool work=true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:36:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:37:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:38:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:39:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:41:16: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:43:9: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:44:9: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:46:12: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:47:9: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:65:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:66:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:17:22: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *get_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:18:18: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *get_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:19:17: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *get_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:23:18: warning: 'get_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *get_text(const UUID &uu, bool work=true); ^ ./core/core.hpp:86:18: note: overridden virtual function is here virtual Text *get_text(const UUID &uu, bool work=true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:25:22: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:26:17: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:27:18: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *insert_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:28:17: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:29:17: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:30:17: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:37:18: warning: 'insert_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *insert_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:85:18: note: overridden virtual function is here virtual Text *insert_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:38:17: warning: 'delete_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:87:17: note: overridden virtual function is here virtual void delete_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:40:31: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_lines(bool work = true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:41:30: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_arcs(bool work = true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:45:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:47:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:48:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:50:20: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:51:17: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:53:17: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:54:17: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:56:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:57:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:58:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:59:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:89:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:90:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:18:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:19:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:20:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:21:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:41:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:42:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:25:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:27:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:28:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:30:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:31:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:32:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:33:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:59:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:60:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:2: In file included from /usr/local/include/gtkmm-3.0/gtkmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:58: In file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:80: In file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8: In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:29: /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:103:14: error: no viable conversion from returned value of type 'result_type' (aka 'void') to function return type 'nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::allocator>' return (typed_rep->functor_)(); ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:110:38: note: in instantiation of member function 'sigc::internal::slot_call0<(lambda at imp/imp_layer.cpp:15:46), nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::allocator> >::call_it' requested here { return reinterpret_cast(&call_it); } ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:454:75: note: in instantiation of member function 'sigc::internal::slot_call0<(lambda at imp/imp_layer.cpp:15:46), nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::allocator> >::address' requested here slot_base::rep_->call_ = internal::slot_call0::address(); ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:1130:7: note: in instantiation of function template specialization 'sigc::slot0, std::__1::allocator >, bool, long, unsigned long, double, std::allocator> >::slot0<(lambda at imp/imp_layer.cpp:15:46)>' requested here : parent_type(_A_func) {} ^ imp/imp_layer.cpp:15:46: note: in instantiation of function template specialization 'sigc::slot, std::__1::allocator >, bool, long, unsigned long, double, std::allocator>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::slot<(lambda at imp/imp_layer.cpp:15:46)>' requested here core.r->signal_request_save_meta().connect([this] { ^ ./json.hpp:1069:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'result_type' (aka 'void') to 'const nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::allocator>::value_t' basic_json(const value_t value_type) ^ ./json.hpp:1093:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'result_type' (aka 'void') to 'std::nullptr_t' (aka 'nullptr_t') basic_json(std::nullptr_t = nullptr) noexcept ^ ./json.hpp:1118:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'result_type' (aka 'void') to 'const object_t &' (aka 'const map, std::__1::allocator >, nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::allocator>, std::less, allocator > >, allocator, allocator >, basic_json, allocator >, bool, long, unsigned long, double, std::allocator> > > > &') basic_json(const object_t& val) ^ ./json.hpp:1181:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'result_type' (aka 'void') to 'const array_t &' (aka 'const vector, std::__1::allocator >, bool, long, unsigned long, double, std::allocator>, allocator, std::__1::allocator >, bool, long, unsigned long, double, std::allocator> > > &') basic_json(const array_t& val) ^ ./json.hpp:1251:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'result_type' (aka 'void') to 'const string_t &' (aka 'const std::__1::basic_string, std::__1::allocator > &') basic_json(const string_t& val) ^ ./json.hpp:1277:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'result_type' (aka 'void') to 'const typename string_t::value_type *' (aka 'const char *') basic_json(const typename string_t::value_type* val) ^ ./json.hpp:1328:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'result_type' (aka 'void') to 'boolean_t' (aka 'bool') basic_json(boolean_t val) noexcept ^ ./json.hpp:1391:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'result_type' (aka 'void') to 'const int' basic_json(const int val) noexcept ^ ./json.hpp:1517:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'result_type' (aka 'void') to 'const number_float_t' (aka 'const double') basic_json(const number_float_t val) noexcept ^ ./json.hpp:1639:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'result_type' (aka 'void') to 'std::initializer_list, allocator >, bool, long, unsigned long, double, std::allocator> >' basic_json(std::initializer_list init, ^ ./json.hpp:1983:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'result_type' (aka 'void') to 'const nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::allocator> &' basic_json(const basic_json& other) ^ ./json.hpp:2060:5: note: candidate constructor not viable: cannot convert argument of incomplete type 'result_type' (aka 'void') to 'nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::allocator> &&' basic_json(basic_json&& other) noexcept ^ ./json.hpp:1360:5: note: candidate template ignored: couldn't infer template argument 'T' basic_json(const number_integer_t val) noexcept ^ ./json.hpp:1455:5: note: candidate template ignored: couldn't infer template argument 'T' basic_json(const number_unsigned_t val) noexcept ^ ./json.hpp:1153:5: note: candidate template ignored: substitution failure [with CompatibleObjectType = void]: type 'void' cannot be used prior to '::' because it has no members basic_json(const CompatibleObjectType& val) ^ ./json.hpp:1221:5: note: candidate template ignored: substitution failure [with CompatibleArrayType = void]: type 'void' cannot be used prior to '::' because it has no members basic_json(const CompatibleArrayType& val) ^ ./json.hpp:1307:18: note: candidate template ignored: disabled by 'enable_if' [with CompatibleStringType = void] std::is_constructible::value, int>::type = 0> ^ ./json.hpp:1424:18: note: candidate template ignored: disabled by 'enable_if' [with CompatibleNumberIntegerType = void] std::is_constructible::value and ^ ./json.hpp:1482:18: note: candidate template ignored: disabled by 'enable_if' [with CompatibleNumberUnsignedType = void] std::is_constructible::value and ^ ./json.hpp:1562:18: note: candidate template ignored: disabled by 'enable_if' [with CompatibleNumberFloatType = void] std::is_constructible::value and ^ In file included from imp/imp_layer.cpp:1: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:2: In file included from /usr/local/include/gtkmm-3.0/gtkmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:58: In file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:80: In file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8: In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:29: In file included from /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:7: /usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251:5: error: void function 'operator()' should not return a value [-Wreturn-type] { return functor_(); } ^ ~~~~~~~~~~ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:103:14: note: in instantiation of member function 'sigc::adaptor_functor<(lambda at imp/imp_layer.cpp:15:46)>::operator()' requested here return (typed_rep->functor_)(); ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:110:38: note: in instantiation of member function 'sigc::internal::slot_call0<(lambda at imp/imp_layer.cpp:15:46), nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::allocator> >::call_it' requested here { return reinterpret_cast(&call_it); } ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:454:75: note: in instantiation of member function 'sigc::internal::slot_call0<(lambda at imp/imp_layer.cpp:15:46), nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::allocator> >::address' requested here slot_base::rep_->call_ = internal::slot_call0::address(); ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:1130:7: note: in instantiation of function template specialization 'sigc::slot0, std::__1::allocator >, bool, long, unsigned long, double, std::allocator> >::slot0<(lambda at imp/imp_layer.cpp:15:46)>' requested here : parent_type(_A_func) {} ^ imp/imp_layer.cpp:15:46: note: in instantiation of function template specialization 'sigc::slot, std::__1::allocator >, bool, long, unsigned long, double, std::allocator>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::slot<(lambda at imp/imp_layer.cpp:15:46)>' requested here core.r->signal_request_save_meta().connect([this] { ^ 72 warnings and 5 errors generated. gmake: *** [imp/imp_layer.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 imp/imp_symbol.cpp -o imp/imp_symbol.o In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:8: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:10: In file included from ./canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:16:14: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *get_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:17:10: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *get_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:19:9: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *get_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:21:14: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *insert_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:22:9: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:23:10: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *insert_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:24:9: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:25:9: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *insert_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:26:9: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:32:23: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_lines(bool work=true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:33:22: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_arcs(bool work=true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:36:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:37:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:38:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:39:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:41:16: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:43:9: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:44:9: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:46:12: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:47:9: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:65:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:66:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:17:22: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *get_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:18:18: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *get_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:19:17: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *get_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:23:18: warning: 'get_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *get_text(const UUID &uu, bool work=true); ^ ./core/core.hpp:86:18: note: overridden virtual function is here virtual Text *get_text(const UUID &uu, bool work=true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:25:22: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:26:17: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:27:18: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *insert_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:28:17: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:29:17: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:30:17: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:37:18: warning: 'insert_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *insert_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:85:18: note: overridden virtual function is here virtual Text *insert_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:38:17: warning: 'delete_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:87:17: note: overridden virtual function is here virtual void delete_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:40:31: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_lines(bool work = true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:41:30: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_arcs(bool work = true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:45:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:47:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:48:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:50:20: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:51:17: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:53:17: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:54:17: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:56:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:57:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:58:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:59:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:89:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:90:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:18:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:19:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:20:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:21:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:41:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:42:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:25:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:27:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:28:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:30:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:31:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:32:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:33:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:59:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_symbol.cpp:1: In file included from imp/imp_symbol.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:60:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_symbol.cpp:1: imp/imp_symbol.hpp:14:9: warning: 'canvas_update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void canvas_update(); ^ imp/imp.hpp:45:17: note: overridden virtual function is here virtual void canvas_update() = 0; ^ 73 warnings and 3 errors generated. gmake: *** [imp/imp_symbol.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 imp/imp_schematic.cpp -o imp/imp_schematic.o In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:8: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:10: In file included from ./canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:16:14: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *get_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:17:10: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *get_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:19:9: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *get_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:21:14: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *insert_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:22:9: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:23:10: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *insert_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:24:9: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:25:9: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *insert_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:26:9: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:32:23: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_lines(bool work=true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:33:22: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_arcs(bool work=true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:36:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:37:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:38:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:39:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:41:16: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:43:9: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:44:9: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:46:12: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:47:9: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:65:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:66:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:17:22: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *get_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:18:18: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *get_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:19:17: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *get_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:23:18: warning: 'get_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *get_text(const UUID &uu, bool work=true); ^ ./core/core.hpp:86:18: note: overridden virtual function is here virtual Text *get_text(const UUID &uu, bool work=true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:25:22: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:26:17: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:27:18: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *insert_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:28:17: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:29:17: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:30:17: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:37:18: warning: 'insert_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *insert_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:85:18: note: overridden virtual function is here virtual Text *insert_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:38:17: warning: 'delete_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:87:17: note: overridden virtual function is here virtual void delete_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:40:31: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_lines(bool work = true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:41:30: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_arcs(bool work = true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:45:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:47:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:48:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:50:20: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:51:17: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:53:17: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:54:17: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:56:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:57:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:58:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:59:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:89:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:90:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:18:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:19:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:20:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:21:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:41:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:42:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:25:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:27:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:28:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:30:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:31:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:32:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:33:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:59:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_schematic.cpp:1: In file included from imp/imp_schematic.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:60:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_schematic.cpp:1: imp/imp_schematic.hpp:14:9: warning: 'canvas_update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void canvas_update(); ^ imp/imp.hpp:45:17: note: overridden virtual function is here virtual void canvas_update() = 0; ^ In file included from imp/imp_schematic.cpp:1: imp/imp_schematic.hpp:21:9: warning: 'handle_tool_change' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void handle_tool_change(ToolID id); ^ imp/imp.hpp:25:17: note: overridden virtual function is here virtual void handle_tool_change(ToolID id); ^ 74 warnings and 3 errors generated. gmake: *** [imp/imp_schematic.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 imp/imp_padstack.cpp -o imp/imp_padstack.o In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:8: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:10: In file included from ./canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:16:14: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *get_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:17:10: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *get_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:19:9: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *get_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:21:14: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *insert_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:22:9: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:23:10: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *insert_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:24:9: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:25:9: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *insert_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:26:9: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:32:23: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_lines(bool work=true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:33:22: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_arcs(bool work=true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:36:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:37:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:38:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:39:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:41:16: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:43:9: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:44:9: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:46:12: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:47:9: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:65:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:66:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:17:22: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *get_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:18:18: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *get_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:19:17: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *get_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:23:18: warning: 'get_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *get_text(const UUID &uu, bool work=true); ^ ./core/core.hpp:86:18: note: overridden virtual function is here virtual Text *get_text(const UUID &uu, bool work=true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:25:22: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:26:17: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:27:18: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *insert_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:28:17: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:29:17: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:30:17: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:37:18: warning: 'insert_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *insert_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:85:18: note: overridden virtual function is here virtual Text *insert_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:38:17: warning: 'delete_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:87:17: note: overridden virtual function is here virtual void delete_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:40:31: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_lines(bool work = true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:41:30: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_arcs(bool work = true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:45:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:47:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:48:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:50:20: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:51:17: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:53:17: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:54:17: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:56:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:57:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:58:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:59:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:89:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:90:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:18:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:19:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:20:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:21:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:41:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:42:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:25:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:27:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:28:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:30:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:31:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:32:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:33:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:59:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_padstack.cpp:1: In file included from imp/imp_padstack.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:60:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_padstack.cpp:1: imp/imp_padstack.hpp:14:9: warning: 'canvas_update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void canvas_update(); ^ imp/imp.hpp:45:17: note: overridden virtual function is here virtual void canvas_update() = 0; ^ 73 warnings and 3 errors generated. gmake: *** [imp/imp_padstack.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 imp/imp_package.cpp -o imp/imp_package.o In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:8: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:10: In file included from ./canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:16:14: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *get_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:17:10: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *get_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:19:9: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *get_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:21:14: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *insert_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:22:9: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:23:10: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *insert_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:24:9: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:25:9: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *insert_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:26:9: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:32:23: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_lines(bool work=true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:33:22: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_arcs(bool work=true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:36:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:37:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:38:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:39:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:41:16: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:43:9: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:44:9: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:46:12: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:47:9: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:65:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:66:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:17:22: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *get_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:18:18: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *get_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:19:17: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *get_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:23:18: warning: 'get_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *get_text(const UUID &uu, bool work=true); ^ ./core/core.hpp:86:18: note: overridden virtual function is here virtual Text *get_text(const UUID &uu, bool work=true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:25:22: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:26:17: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:27:18: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *insert_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:28:17: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:29:17: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:30:17: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:37:18: warning: 'insert_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *insert_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:85:18: note: overridden virtual function is here virtual Text *insert_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:38:17: warning: 'delete_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:87:17: note: overridden virtual function is here virtual void delete_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:40:31: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_lines(bool work = true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:41:30: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_arcs(bool work = true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:45:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:47:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:48:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:50:20: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:51:17: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:53:17: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:54:17: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:56:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:57:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:58:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:59:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:89:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:90:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:18:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:19:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:20:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:21:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:41:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:42:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:25:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:27:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:28:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:30:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:31:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:32:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:33:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:59:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_package.cpp:1: In file included from imp/imp_package.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:60:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_package.cpp:1: imp/imp_package.hpp:14:9: warning: 'canvas_update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void canvas_update(); ^ imp/imp.hpp:45:17: note: overridden virtual function is here virtual void canvas_update() = 0; ^ 73 warnings and 3 errors generated. gmake: *** [imp/imp_package.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 imp/imp_board.cpp -o imp/imp_board.o In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:8: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: In file included from ./canvas/canvas.hpp:10: In file included from ./canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:2: In file included from imp/main_window.hpp:3: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:16:14: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *get_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:17:10: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *get_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:19:9: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *get_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:21:14: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Junction *insert_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:22:9: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_junction(const UUID &uu, bool work=true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:23:10: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Line *insert_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:24:9: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_line(const UUID &uu, bool work=true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:25:9: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] Arc *insert_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:26:9: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_arc(const UUID &uu, bool work=true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:32:23: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_lines(bool work=true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:33:22: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::vector get_arcs(bool work=true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:36:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:37:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:38:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:39:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:41:16: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:43:9: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:44:9: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:46:12: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:47:9: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:65:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:4: ./core/core_symbol.hpp:66:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:17:22: warning: 'get_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *get_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:74:22: note: overridden virtual function is here virtual Junction *get_junction(const UUID &uu, bool work=true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:18:18: warning: 'get_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *get_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:78:18: note: overridden virtual function is here virtual Line *get_line(const UUID &uu, bool work=true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:19:17: warning: 'get_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *get_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:82:17: note: overridden virtual function is here virtual Arc *get_arc(const UUID &uu, bool work=true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:23:18: warning: 'get_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *get_text(const UUID &uu, bool work=true); ^ ./core/core.hpp:86:18: note: overridden virtual function is here virtual Text *get_text(const UUID &uu, bool work=true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:25:22: warning: 'insert_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:73:22: note: overridden virtual function is here virtual Junction *insert_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:26:17: warning: 'delete_junction' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_junction(const UUID &uu, bool work = true); ^ ./core/core.hpp:75:17: note: overridden virtual function is here virtual void delete_junction(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:27:18: warning: 'insert_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Line *insert_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:77:18: note: overridden virtual function is here virtual Line *insert_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:28:17: warning: 'delete_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_line(const UUID &uu, bool work = true); ^ ./core/core.hpp:79:17: note: overridden virtual function is here virtual void delete_line(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:29:17: warning: 'insert_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:81:17: note: overridden virtual function is here virtual Arc *insert_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:30:17: warning: 'delete_arc' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_arc(const UUID &uu, bool work = true); ^ ./core/core.hpp:83:17: note: overridden virtual function is here virtual void delete_arc(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:37:18: warning: 'insert_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual Text *insert_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:85:18: note: overridden virtual function is here virtual Text *insert_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:38:17: warning: 'delete_text' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void delete_text(const UUID &uu, bool work = true); ^ ./core/core.hpp:87:17: note: overridden virtual function is here virtual void delete_text(const UUID &uu, bool work = true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:40:31: warning: 'get_lines' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_lines(bool work = true); ^ ./core/core.hpp:96:31: note: overridden virtual function is here virtual std::vector get_lines(bool work=true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:41:30: warning: 'get_arcs' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::vector get_arcs(bool work = true); ^ ./core/core.hpp:97:30: note: overridden virtual function is here virtual std::vector get_arcs(bool work=true); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:45:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:47:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:48:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:50:20: warning: 'get_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:120:20: note: overridden virtual function is here virtual int64_t get_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:51:17: warning: 'set_property_int' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ ./core/core.hpp:121:17: note: overridden virtual function is here virtual void set_property_int(const UUID &uu, ObjectType type, ObjectProperty::ID property, int64_t value, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:53:17: warning: 'get_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:117:17: note: overridden virtual function is here virtual bool get_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:54:17: warning: 'set_property_bool' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ ./core/core.hpp:118:17: note: overridden virtual function is here virtual void set_property_bool(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool value, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:56:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:57:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:58:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:59:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:89:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:5: ./core/core_schematic.hpp:90:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:18:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:19:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:20:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:21:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:41:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:6: ./core/core_padstack.hpp:42:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:25:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:27:24: warning: 'get_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:114:24: note: overridden virtual function is here virtual std::string get_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:28:17: warning: 'set_property_string' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ ./core/core.hpp:115:17: note: overridden virtual function is here virtual void set_property_string(const UUID &uu, ObjectType type, ObjectProperty::ID property, const std::string &value, bool *handled=nullptr); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:30:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:31:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:32:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:33:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:59:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:2: In file included from imp/imp_layer.hpp:2: In file included from imp/imp.hpp:7: ./core/core_package.hpp:60:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:24:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:28:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:29:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:30:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:31:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:70:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from imp/imp_board.cpp:1: In file included from imp/imp_board.hpp:3: ./core/core_board.hpp:71:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from imp/imp_board.cpp:1: imp/imp_board.hpp:18:9: warning: 'canvas_update' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void canvas_update(); ^ imp/imp.hpp:45:17: note: overridden virtual function is here virtual void canvas_update() = 0; ^ 81 warnings and 3 errors generated. gmake: *** [imp/imp_board.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 imp/tool_popover.cpp -o imp/tool_popover.o In file included from imp/tool_popover.cpp:1: In file included from imp/tool_popover.hpp:3: In file included from ./core/core.hpp:2: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from imp/tool_popover.cpp:1: In file included from imp/tool_popover.hpp:3: In file included from ./core/core.hpp:4: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs imp/tool_popover.cpp:44:125: error: no member named 'grab_focus_without_selecting' in 'Gtk::SearchEntry' view->signal_key_press_event().connect([this](GdkEventKey* ev)->bool{std::cout << "handle ev" << std::endl; search_entry->grab_focus_without_selecting(); return search_entry->handle_event(ev);}); ~~~~~~~~~~~~ ^ imp/tool_popover.cpp:44:178: error: no member named 'handle_event' in 'Gtk::SearchEntry' view->signal_key_press_event().connect([this](GdkEventKey* ev)->bool{std::cout << "handle ev" << std::endl; search_entry->grab_focus_without_selecting(); return search_entry->handle_event(ev);}); ~~~~~~~~~~~~ ^ In file included from imp/tool_popover.cpp:1: In file included from imp/tool_popover.hpp:2: In file included from /usr/local/include/gtkmm-3.0/gtkmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:58: In file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:80: In file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8: In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:29: /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:136:14: error: cannot initialize return object of type 'bool' with an rvalue of type 'typename deduce_result_type::type' (aka 'void') return (typed_rep->functor_).SIGC_WORKAROUND_OPERATOR_PARENTHESES::take> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:144:38: note: in instantiation of member function 'sigc::internal::slot_call1<(lambda at imp/tool_popover.cpp:16:36), bool, const Gtk::TreeIter &>::call_it' requested here { return reinterpret_cast(&call_it); } ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:529:83: note: in instantiation of member function 'sigc::internal::slot_call1<(lambda at imp/tool_popover.cpp:16:36), bool, const Gtk::TreeIter &>::address' requested here slot_base::rep_->call_ = internal::slot_call1::address(); ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:1157:7: note: in instantiation of function template specialization 'sigc::slot1::slot1<(lambda at imp/tool_popover.cpp:16:36)>' requested here : parent_type(_A_func) {} ^ imp/tool_popover.cpp:16:36: note: in instantiation of function template specialization 'sigc::slot::slot<(lambda at imp/tool_popover.cpp:16:36)>' requested here store_filtered->set_visible_func([this](const Gtk::TreeModel::const_iterator& it)->bool{ ^ In file included from imp/tool_popover.cpp:1: In file included from imp/tool_popover.hpp:2: In file included from /usr/local/include/gtkmm-3.0/gtkmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:58: In file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:80: In file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8: In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:29: In file included from /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:7: /usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:84:7: error: void function 'operator()' should not return a value [-Wreturn-type] { return functor_(_A_arg1); } ^ ~~~~~~~~~~~~~~~~~ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:136:36: note: in instantiation of function template specialization 'sigc::adaptor_functor<(lambda at imp/tool_popover.cpp:16:36)>::operator()' requested here return (typed_rep->functor_).SIGC_WORKAROUND_OPERATOR_PARENTHESES::take> ^ /usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:17:57: note: expanded from macro 'SIGC_WORKAROUND_OPERATOR_PARENTHESES' #define SIGC_WORKAROUND_OPERATOR_PARENTHESES template operator() ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:144:38: note: in instantiation of member function 'sigc::internal::slot_call1<(lambda at imp/tool_popover.cpp:16:36), bool, const Gtk::TreeIter &>::call_it' requested here { return reinterpret_cast(&call_it); } ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:529:83: note: in instantiation of member function 'sigc::internal::slot_call1<(lambda at imp/tool_popover.cpp:16:36), bool, const Gtk::TreeIter &>::address' requested here slot_base::rep_->call_ = internal::slot_call1::address(); ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:1157:7: note: in instantiation of function template specialization 'sigc::slot1::slot1<(lambda at imp/tool_popover.cpp:16:36)>' requested here : parent_type(_A_func) {} ^ imp/tool_popover.cpp:16:36: note: in instantiation of function template specialization 'sigc::slot::slot<(lambda at imp/tool_popover.cpp:16:36)>' requested here store_filtered->set_visible_func([this](const Gtk::TreeModel::const_iterator& it)->bool{ ^ In file included from imp/tool_popover.cpp:1: In file included from imp/tool_popover.hpp:2: In file included from /usr/local/include/gtkmm-3.0/gtkmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:58: In file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:80: In file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8: In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:29: /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:136:14: error: cannot initialize return object of type 'bool' with an rvalue of type 'typename deduce_result_type<_GdkEventKey *const &>::type' (aka 'void') return (typed_rep->functor_).SIGC_WORKAROUND_OPERATOR_PARENTHESES::take> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:144:38: note: in instantiation of member function 'sigc::internal::slot_call1<(lambda at imp/tool_popover.cpp:44:42), bool, _GdkEventKey *>::call_it' requested here { return reinterpret_cast(&call_it); } ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:529:83: note: in instantiation of member function 'sigc::internal::slot_call1<(lambda at imp/tool_popover.cpp:44:42), bool, _GdkEventKey *>::address' requested here slot_base::rep_->call_ = internal::slot_call1::address(); ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:1157:7: note: in instantiation of function template specialization 'sigc::slot1::slot1<(lambda at imp/tool_popover.cpp:44:42)>' requested here : parent_type(_A_func) {} ^ imp/tool_popover.cpp:44:42: note: in instantiation of function template specialization 'sigc::slot::slot<(lambda at imp/tool_popover.cpp:44:42)>' requested here view->signal_key_press_event().connect([this](GdkEventKey* ev)->bool{std::cout << "handle ev" << std::endl; search_entry->grab_focus_without_selecting(); return search_entry->handle_event(ev);}); ^ In file included from imp/tool_popover.cpp:1: In file included from imp/tool_popover.hpp:2: In file included from /usr/local/include/gtkmm-3.0/gtkmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:58: In file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:80: In file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8: In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:29: In file included from /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:7: /usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:84:7: error: void function 'operator()' should not return a value [-Wreturn-type] { return functor_(_A_arg1); } ^ ~~~~~~~~~~~~~~~~~ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:136:36: note: in instantiation of function template specialization 'sigc::adaptor_functor<(lambda at imp/tool_popover.cpp:44:42)>::operator()<_GdkEventKey *const &>' requested here return (typed_rep->functor_).SIGC_WORKAROUND_OPERATOR_PARENTHESES::take> ^ /usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:17:57: note: expanded from macro 'SIGC_WORKAROUND_OPERATOR_PARENTHESES' #define SIGC_WORKAROUND_OPERATOR_PARENTHESES template operator() ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:144:38: note: in instantiation of member function 'sigc::internal::slot_call1<(lambda at imp/tool_popover.cpp:44:42), bool, _GdkEventKey *>::call_it' requested here { return reinterpret_cast(&call_it); } ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:529:83: note: in instantiation of member function 'sigc::internal::slot_call1<(lambda at imp/tool_popover.cpp:44:42), bool, _GdkEventKey *>::address' requested here slot_base::rep_->call_ = internal::slot_call1::address(); ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:1157:7: note: in instantiation of function template specialization 'sigc::slot1::slot1<(lambda at imp/tool_popover.cpp:44:42)>' requested here : parent_type(_A_func) {} ^ imp/tool_popover.cpp:44:42: note: in instantiation of function template specialization 'sigc::slot::slot<(lambda at imp/tool_popover.cpp:44:42)>' requested here view->signal_key_press_event().connect([this](GdkEventKey* ev)->bool{std::cout << "handle ev" << std::endl; search_entry->grab_focus_without_selecting(); return search_entry->handle_event(ev);}); ^ 5 warnings and 6 errors generated. gmake: *** [imp/tool_popover.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/canvas.cpp -o canvas/canvas.o In file included from canvas/canvas.cpp:1: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/canvas.cpp:1: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/canvas.cpp:1: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ 7 warnings and 3 errors generated. gmake: *** [canvas/canvas.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/canvas_gl.cpp -o canvas/canvas_gl.o In file included from canvas/canvas_gl.cpp:1: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/canvas_gl.cpp:1: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/canvas_gl.cpp:1: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ canvas/canvas_gl.cpp:17:25: error: type 'Glib::ObjectBase' is not a direct or virtual base of 'horizon::CanvasGL' CanvasGL::CanvasGL() : Glib::ObjectBase(typeid(CanvasGL)), Canvas::Canvas(), grid(this), box_selection(this), selectables_renderer(this, &selectables), ^~~~~~ canvas/canvas_gl.cpp:19:4: error: no matching constructor for initialization of 'Glib::Property' p_property_work_layer(*this, "work-layer"), ^ ~~~~~~~~~~~~~~~~~~~ /usr/local/include/glibmm-2.4/glibmm/property.h:181:3: note: candidate constructor not viable: no known conversion from 'horizon::CanvasGL' to 'Glib::Object &' for 1st argument Property(Glib::Object& object, const Glib::ustring& name); ^ /usr/local/include/glibmm-2.4/glibmm/property.h:172:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided class Property : public PropertyBase ^ /usr/local/include/glibmm-2.4/glibmm/property.h:186:3: note: candidate constructor not viable: requires 3 arguments, but 2 were provided Property(Glib::Object& object, const Glib::ustring& name, const PropertyType& default_value); ^ canvas/canvas_gl.cpp:20:4: error: no matching constructor for initialization of 'Glib::Property' (aka 'Property') p_property_grid_spacing(*this, "grid-spacing"), ^ ~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glibmm-2.4/glibmm/property.h:181:3: note: candidate constructor not viable: no known conversion from 'horizon::CanvasGL' to 'Glib::Object &' for 1st argument Property(Glib::Object& object, const Glib::ustring& name); ^ /usr/local/include/glibmm-2.4/glibmm/property.h:172:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided class Property : public PropertyBase ^ /usr/local/include/glibmm-2.4/glibmm/property.h:186:3: note: candidate constructor not viable: requires 3 arguments, but 2 were provided Property(Glib::Object& object, const Glib::ustring& name, const PropertyType& default_value); ^ canvas/canvas_gl.cpp:21:4: error: no matching constructor for initialization of 'Glib::Property' p_property_layer_opacity(*this, "layer-opacity") ^ ~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glibmm-2.4/glibmm/property.h:181:3: note: candidate constructor not viable: no known conversion from 'horizon::CanvasGL' to 'Glib::Object &' for 1st argument Property(Glib::Object& object, const Glib::ustring& name); ^ /usr/local/include/glibmm-2.4/glibmm/property.h:172:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided class Property : public PropertyBase ^ /usr/local/include/glibmm-2.4/glibmm/property.h:186:3: note: candidate constructor not viable: requires 3 arguments, but 2 were provided Property(Glib::Object& object, const Glib::ustring& name, const PropertyType& default_value); ^ canvas/canvas_gl.cpp:23:3: error: use of undeclared identifier 'add_events' add_events( ^ canvas/canvas_gl.cpp:32:3: error: use of undeclared identifier 'set_can_focus' set_can_focus(true); ^ canvas/canvas_gl.cpp:34:97: error: use of undeclared identifier 'queue_draw' property_grid_spacing().signal_changed().connect([this]{grid.spacing=property_grid_spacing(); queue_draw();}); ^ canvas/canvas_gl.cpp:36:60: error: use of undeclared identifier 'queue_draw' property_layer_opacity().signal_changed().connect([this]{queue_draw();}); ^ canvas/canvas_gl.cpp:45:35: error: use of undeclared identifier 'get_scale_factor' screenmat[MAT3_XX] = 2.0/(width*get_scale_factor()); ^ canvas/canvas_gl.cpp:47:37: error: use of undeclared identifier 'get_scale_factor' screenmat[MAT3_YY] = -2.0/(height*get_scale_factor()); ^ canvas/canvas_gl.cpp:53:8: error: no member named 'GLArea' in namespace 'Gtk' Gtk::GLArea::on_size_allocate(alloc); ~~~~~^ canvas/canvas_gl.cpp:53:33: warning: declaration shadows a local variable [-Wshadow] Gtk::GLArea::on_size_allocate(alloc); ^ canvas/canvas_gl.cpp:40:51: note: previous declaration is here void CanvasGL::on_size_allocate(Gtk::Allocation &alloc) { ^ canvas/canvas_gl.cpp:58:8: error: no member named 'GLArea' in namespace 'Gtk' Gtk::GLArea::on_realize(); ~~~~~^ canvas/canvas_gl.cpp:59:3: error: use of undeclared identifier 'make_current' make_current(); ^ canvas/canvas_gl.cpp:68:51: error: no member named 'GLContext' in namespace 'Gdk' bool CanvasGL::on_render(const Glib::RefPtr &context) { ~~~~~^ canvas/canvas_gl.cpp:89:15: error: no member named 'GLArea' in namespace 'Gtk' return Gtk::GLArea::on_render(context); ~~~~~^ canvas/canvas_gl.cpp:93:3: error: use of undeclared identifier 'grab_focus' grab_focus(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 8 warnings and 20 errors generated. gmake: *** [canvas/canvas_gl.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/canvas_cairo.cpp -o canvas/canvas_cairo.o In file included from canvas/canvas_cairo.cpp:1: In file included from canvas/canvas_cairo.hpp:2: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/canvas_cairo.cpp:1: In file included from canvas/canvas_cairo.hpp:2: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/canvas_cairo.cpp:1: In file included from canvas/canvas_cairo.hpp:2: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ 7 warnings and 3 errors generated. gmake: *** [canvas/canvas_cairo.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/grid.cpp -o canvas/grid.o In file included from canvas/grid.cpp:3: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/grid.cpp:3: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/grid.cpp:3: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ 7 warnings and 3 errors generated. gmake: *** [canvas/grid.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/pan.cpp -o canvas/pan.o In file included from canvas/pan.cpp:1: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/pan.cpp:1: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/pan.cpp:1: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ canvas/pan.cpp:31:9: error: use of undeclared identifier 'get_allocated_width' if(x>get_allocated_width() || x<0 || y>get_allocated_height() || y<0) { ^ canvas/pan.cpp:31:43: error: use of undeclared identifier 'get_allocated_height' if(x>get_allocated_width() || x<0 || y>get_allocated_height() || y<0) { ^ canvas/pan.cpp:36:10: error: use of undeclared identifier 'get_allocated_width' if(x>get_allocated_width()) { ^ canvas/pan.cpp:37:35: error: use of undeclared identifier 'get_allocated_width' gdk_device_warp(dev, scr, rx-get_allocated_width(), ry); ^ canvas/pan.cpp:40:35: error: use of undeclared identifier 'get_allocated_width' gdk_device_warp(dev, scr, rx+get_allocated_width(), ry); ^ canvas/pan.cpp:42:15: error: use of undeclared identifier 'get_allocated_height' else if(y>get_allocated_height()) { ^ canvas/pan.cpp:43:39: error: use of undeclared identifier 'get_allocated_height' gdk_device_warp(dev, scr, rx, ry-get_allocated_height()); ^ canvas/pan.cpp:46:39: error: use of undeclared identifier 'get_allocated_height' gdk_device_warp(dev, scr, rx, ry+get_allocated_height()); ^ canvas/pan.cpp:51:4: error: use of undeclared identifier 'queue_draw' queue_draw(); ^ canvas/pan.cpp:61:3: error: use of undeclared identifier 'queue_draw' queue_draw(); ^ canvas/pan.cpp:95:3: error: use of undeclared identifier 'queue_draw' queue_draw(); ^ 7 warnings and 14 errors generated. gmake: *** [canvas/pan.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/render.cpp -o canvas/render.o In file included from canvas/render.cpp:1: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/render.cpp:1: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/render.cpp:1: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from canvas/render.cpp:2: canvas/polypartition/polypartition.h:106:27: warning: declaration shadows a field of 'TPPLPoly' [-Wshadow] void SetHole(bool hole) { ^ canvas/polypartition/polypartition.h:86:14: note: previous declaration is here bool hole; ^ In file included from canvas/render.cpp:32: ./core/core_board.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from canvas/render.cpp:32: ./core/core_board.hpp:24:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from canvas/render.cpp:32: ./core/core_board.hpp:28:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from canvas/render.cpp:32: ./core/core_board.hpp:29:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from canvas/render.cpp:32: ./core/core_board.hpp:30:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from canvas/render.cpp:32: ./core/core_board.hpp:31:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from canvas/render.cpp:32: ./core/core_board.hpp:70:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from canvas/render.cpp:32: ./core/core_board.hpp:71:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ canvas/render.cpp:673:42: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] Coordi text_pos = {a.x, (a.y+b.y)/2+abs(a.y-b.y)/4}; ^ canvas/render.cpp:673:42: note: use function 'std::abs' instead Coordi text_pos = {a.x, (a.y+b.y)/2+abs(a.y-b.y)/4}; ^~~ std::abs canvas/render.cpp:684:42: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] Coordi text_pos = {a.x, (a.y+b.y)/2-abs(a.y-b.y)/4}; ^ canvas/render.cpp:684:42: note: use function 'std::abs' instead Coordi text_pos = {a.x, (a.y+b.y)/2-abs(a.y-b.y)/4}; ^~~ std::abs canvas/render.cpp:888:11: warning: unused variable 'elapsed_secs' [-Wunused-variable] double elapsed_secs = double(end - begin) / CLOCKS_PER_SEC; ^ In file included from canvas/render.cpp:1: In file included from canvas/canvas.hpp:10: In file included from ./canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } /usr/include/c++/v1/memory:1641:35: note: in instantiation of member function 'horizon::UUIDPath<2>::UUIDPath' requested here ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...); ^ /usr/include/c++/v1/__config:341:15: note: expanded from macro '_VSTD' #define _VSTD std::_LIBCPP_NAMESPACE ^ /usr/include/c++/v1/memory:1568:18: note: in instantiation of function template specialization 'std::__1::allocator >::construct >' requested here {__a.construct(__p, _VSTD::forward<_Args>(__args)...);} ^ /usr/include/c++/v1/memory:1449:14: note: in instantiation of function template specialization 'std::__1::allocator_traits > >::__construct >' requested here {__construct(__has_construct(), ^ /usr/include/c++/v1/__tree:1731:20: note: in instantiation of function template specialization 'std::__1::allocator_traits > >::construct >' requested here __node_traits::construct(__na, _VSTD::addressof(__h->__value_), _VSTD::forward<_Args>(__args)...); ^ /usr/include/c++/v1/__tree:1741:25: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::allocator >::__construct_node >' requested here __node_holder __h = __construct_node(_VSTD::forward<_Args>(__args)...); ^ /usr/include/c++/v1/set:581:29: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::allocator >::__emplace_unique >' requested here {return __tree_.__emplace_unique(_VSTD::forward<_Args>(__args)...);} ^ canvas/render.cpp:68:13: note: in instantiation of function template specialization 'std::__1::set, std::__1::allocator >::emplace >' requested here targets.emplace(junc.uuid, ObjectType::JUNCTION, transform.transform(junc.position)); ^ In file included from canvas/render.cpp:1: In file included from canvas/canvas.hpp:10: In file included from ./canvas/target.hpp:2: util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } canvas/render.cpp:327:20: note: in instantiation of member function 'horizon::UUIDPath<2>::UUIDPath' requested here targets.emplace(UUIDPath<2>(sym.uuid, it.second.uuid), ObjectType::SYMBOL_PIN, transform.transform(it.second.position)); ^ 21 warnings and 3 errors generated. gmake: *** [canvas/render.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/draw.cpp -o canvas/draw.o In file included from canvas/draw.cpp:1: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/draw.cpp:1: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/draw.cpp:1: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ 7 warnings and 3 errors generated. gmake: *** [canvas/draw.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/text.cpp -o canvas/text.o In file included from canvas/text.cpp:1: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/text.cpp:1: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/text.cpp:1: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ canvas/text.cpp:191:12: warning: comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if(*c >= 0x80 && fontFace == FONT_HERSHEY_COMPLEX) ~~ ^ ~~~~ canvas/text.cpp:193:9: warning: comparison of constant 208 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if(*c == 0xD0 && text[*i + 1] >= 0x90 && text[*i + 1] <= 0xBF) ~~ ^ ~~~~ canvas/text.cpp:193:33: warning: comparison of constant 144 with expression of type 'const char' is always false [-Wtautological-constant-out-of-range-compare] if(*c == 0xD0 && text[*i + 1] >= 0x90 && text[*i + 1] <= 0xBF) ~~~~~~~~~~~~ ^ ~~~~ canvas/text.cpp:193:57: warning: comparison of constant 191 with expression of type 'const char' is always true [-Wtautological-constant-out-of-range-compare] if(*c == 0xD0 && text[*i + 1] >= 0x90 && text[*i + 1] <= 0xBF) ~~~~~~~~~~~~ ^ ~~~~ canvas/text.cpp:199:14: warning: comparison of constant 209 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] else if(*c == 0xD1 && text[*i + 1] >= 0x80 && text[*i + 1] <= 0x8F) ~~ ^ ~~~~ canvas/text.cpp:199:38: warning: comparison of constant 128 with expression of type 'const char' is always false [-Wtautological-constant-out-of-range-compare] else if(*c == 0xD1 && text[*i + 1] >= 0x80 && text[*i + 1] <= 0x8F) ~~~~~~~~~~~~ ^ ~~~~ canvas/text.cpp:199:62: warning: comparison of constant 143 with expression of type 'const char' is always true [-Wtautological-constant-out-of-range-compare] else if(*c == 0xD1 && text[*i + 1] >= 0x80 && text[*i + 1] <= 0x8F) ~~~~~~~~~~~~ ^ ~~~~ canvas/text.cpp:207:13: warning: comparison of constant 192 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if(*c >= 0xC0 && text[*i+1] != 0) //2 bytes utf ~~ ^ ~~~~ canvas/text.cpp:210:13: warning: comparison of constant 224 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if(*c >= 0xE0 && text[*i+1] != 0) //3 bytes utf ~~ ^ ~~~~ canvas/text.cpp:213:13: warning: comparison of constant 240 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if(*c >= 0xF0 && text[*i+1] != 0) //4 bytes utf ~~ ^ ~~~~ canvas/text.cpp:216:13: warning: comparison of constant 248 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if(*c >= 0xF8 && text[*i+1] != 0) //5 bytes utf ~~ ^ ~~~~ canvas/text.cpp:219:13: warning: comparison of constant 252 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if(*c >= 0xFC && text[*i+1] != 0) //6 bytes utf ~~ ^ ~~~~ canvas/text.cpp:273:14: warning: unused variable 'ascii' [-Wunused-variable] const int* ascii = getFontData(fontFace); ^ canvas/text.cpp:370:14: warning: unused variable 'ascii' [-Wunused-variable] const int* ascii = getFontData(fontFace); ^ 21 warnings and 3 errors generated. gmake: *** [canvas/text.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/box_selection.cpp -o canvas/box_selection.o In file included from canvas/box_selection.cpp:3: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/box_selection.cpp:3: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/box_selection.cpp:3: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ canvas/box_selection.cpp:77:8: error: no member named 'queue_draw' in 'horizon::CanvasGL' ca->queue_draw(); ~~ ^ canvas/box_selection.cpp:93:8: error: no member named 'queue_draw' in 'horizon::CanvasGL' ca->queue_draw(); ~~ ^ canvas/box_selection.cpp:134:25: error: chosen constructor is explicit in copy-initialization ca->set_selection({}, false); ^~ /usr/include/c++/v1/set:428:14: note: constructor declared here explicit set(const value_compare& __comp = value_compare()) ^ canvas/canvas.hpp:127:54: note: passing argument to parameter 'sel' here void set_selection(const std::set &sel, bool emit=true); ^ canvas/box_selection.cpp:138:16: warning: declaration shadows a local variable [-Wshadow] for(auto i: in_selection) { ^ canvas/box_selection.cpp:125:19: note: previous declaration is here unsigned int i = 0; ^ canvas/box_selection.cpp:147:27: error: chosen constructor is explicit in copy-initialization ca->set_selection({}, false); ^~ /usr/include/c++/v1/set:428:14: note: constructor declared here explicit set(const value_compare& __comp = value_compare()) ^ canvas/canvas.hpp:127:54: note: passing argument to parameter 'sel' here void set_selection(const std::set &sel, bool emit=true); ^ canvas/box_selection.cpp:165:25: error: chosen constructor is explicit in copy-initialization ca->set_selection({}); ^~ /usr/include/c++/v1/set:428:14: note: constructor declared here explicit set(const value_compare& __comp = value_compare()) ^ canvas/canvas.hpp:127:54: note: passing argument to parameter 'sel' here void set_selection(const std::set &sel, bool emit=true); ^ canvas/box_selection.cpp:175:8: error: no member named 'queue_draw' in 'horizon::CanvasGL' ca->queue_draw(); ~~ ^ 8 warnings and 9 errors generated. gmake: *** [canvas/box_selection.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/selectables.cpp -o canvas/selectables.o In file included from canvas/selectables.cpp:3: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/selectables.cpp:3: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/selectables.cpp:3: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ 7 warnings and 3 errors generated. gmake: *** [canvas/selectables.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/hover_prelight.cpp -o canvas/hover_prelight.o In file included from canvas/hover_prelight.cpp:1: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/hover_prelight.cpp:1: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/hover_prelight.cpp:1: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ 7 warnings and 3 errors generated. gmake: *** [canvas/hover_prelight.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/triangle.cpp -o canvas/triangle.o In file included from canvas/triangle.cpp:3: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/triangle.cpp:3: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/triangle.cpp:3: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ 7 warnings and 3 errors generated. gmake: *** [canvas/triangle.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/image.cpp -o canvas/image.o In file included from canvas/image.cpp:1: In file included from canvas/canvas.hpp:8: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from canvas/image.cpp:1: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/image.cpp:1: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ 7 warnings and 3 errors generated. gmake: *** [canvas/image.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 canvas/selection_filter.cpp -o canvas/selection_filter.o In file included from canvas/selection_filter.cpp:1: In file included from canvas/selection_filter.hpp:2: canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:11: note: include the header or explicitly provide a declaration for 'std::abs' canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs canvas/selectables.hpp:52:24: note: include the header or explicitly provide a declaration for 'std::abs' In file included from canvas/selection_filter.cpp:2: In file included from canvas/canvas.hpp:10: In file included from canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from canvas/selection_filter.cpp:2: canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ 7 warnings and 3 errors generated. gmake: *** [canvas/selection_filter.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 core/core.cpp -o core/core.o In file included from core/core.cpp:1: In file included from core/core.hpp:2: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from core/core.cpp:1: In file included from core/core.hpp:4: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from core/core.cpp:12: core/tool_place_net_label.hpp:16:9: warning: 'create_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void create_attached(); ^ core/tool_place_junction.hpp:20:17: note: overridden virtual function is here virtual void create_attached() {} ^ In file included from core/core.cpp:12: core/tool_place_net_label.hpp:17:9: warning: 'delete_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_attached(); ^ core/tool_place_junction.hpp:21:17: note: overridden virtual function is here virtual void delete_attached() {} ^ In file included from core/core.cpp:12: core/tool_place_net_label.hpp:18:9: warning: 'update_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool update_attached(const ToolArgs &args); ^ core/tool_place_junction.hpp:22:17: note: overridden virtual function is here virtual bool update_attached(const ToolArgs &args) {return false;} ^ In file included from core/core.cpp:12: core/tool_place_net_label.hpp:19:9: warning: 'check_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool check_line(LineNet *li); ^ core/tool_place_junction.hpp:23:17: note: overridden virtual function is here virtual bool check_line(class LineNet *li) {return true;} ^ In file included from core/core.cpp:16: core/tool_place_power_symbol.hpp:15:9: warning: 'create_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void create_attached(); ^ core/tool_place_junction.hpp:20:17: note: overridden virtual function is here virtual void create_attached() {} ^ In file included from core/core.cpp:16: core/tool_place_power_symbol.hpp:16:9: warning: 'delete_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_attached(); ^ core/tool_place_junction.hpp:21:17: note: overridden virtual function is here virtual void delete_attached() {} ^ In file included from core/core.cpp:16: core/tool_place_power_symbol.hpp:17:9: warning: 'begin_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool begin_attached(); ^ core/tool_place_junction.hpp:24:17: note: overridden virtual function is here virtual bool begin_attached() {return true;} ^ In file included from core/core.cpp:16: core/tool_place_power_symbol.hpp:18:9: warning: 'update_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool update_attached(const ToolArgs &args); ^ core/tool_place_junction.hpp:22:17: note: overridden virtual function is here virtual bool update_attached(const ToolArgs &args) {return false;} ^ In file included from core/core.cpp:16: core/tool_place_power_symbol.hpp:19:9: warning: 'check_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool check_line(LineNet *li); ^ core/tool_place_junction.hpp:23:17: note: overridden virtual function is here virtual bool check_line(class LineNet *li) {return true;} ^ In file included from core/core.cpp:18: core/tool_place_bus_label.hpp:16:9: warning: 'create_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void create_attached(); ^ core/tool_place_junction.hpp:20:17: note: overridden virtual function is here virtual void create_attached() {} ^ In file included from core/core.cpp:18: core/tool_place_bus_label.hpp:17:9: warning: 'delete_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_attached(); ^ core/tool_place_junction.hpp:21:17: note: overridden virtual function is here virtual void delete_attached() {} ^ In file included from core/core.cpp:18: core/tool_place_bus_label.hpp:18:9: warning: 'begin_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool begin_attached(); ^ core/tool_place_junction.hpp:24:17: note: overridden virtual function is here virtual bool begin_attached() {return true;} ^ In file included from core/core.cpp:18: core/tool_place_bus_label.hpp:19:9: warning: 'update_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool update_attached(const ToolArgs &args); ^ core/tool_place_junction.hpp:22:17: note: overridden virtual function is here virtual bool update_attached(const ToolArgs &args) {return false;} ^ In file included from core/core.cpp:18: core/tool_place_bus_label.hpp:20:9: warning: 'check_line' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool check_line(LineNet *li); ^ core/tool_place_junction.hpp:23:17: note: overridden virtual function is here virtual bool check_line(class LineNet *li) {return true;} ^ In file included from core/core.cpp:29: core/tool_place_via.hpp:15:9: warning: 'create_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void create_attached(); ^ core/tool_place_junction.hpp:20:17: note: overridden virtual function is here virtual void create_attached() {} ^ In file included from core/core.cpp:29: core/tool_place_via.hpp:16:9: warning: 'delete_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void delete_attached(); ^ core/tool_place_junction.hpp:21:17: note: overridden virtual function is here virtual void delete_attached() {} ^ In file included from core/core.cpp:29: core/tool_place_via.hpp:17:9: warning: 'begin_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool begin_attached(); ^ core/tool_place_junction.hpp:24:17: note: overridden virtual function is here virtual bool begin_attached() {return true;} ^ In file included from core/core.cpp:29: core/tool_place_via.hpp:18:9: warning: 'update_attached' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool update_attached(const ToolArgs &args); ^ core/tool_place_junction.hpp:22:17: note: overridden virtual function is here virtual bool update_attached(const ToolArgs &args) {return false;} ^ In file included from core/core.cpp:1: In file included from core/core.hpp:2: In file included from pool/symbol.hpp:3: In file included from ./json_fwd.hpp:5: In file included from /usr/include/c++/v1/map:423: /usr/include/c++/v1/__tree:1263:35: error: object of type 'horizon::SelectableRef' cannot be assigned because its copy assignment operator is implicitly deleted __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::allocator >::__assign_multi *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/set:472:21: note: in instantiation of member function 'std::__1::__tree, std::__1::allocator >::operator=' requested here __tree_ = __s.__tree_; ^ core/core.cpp:157:14: note: in instantiation of member function 'std::__1::set, std::__1::allocator >::operator=' requested here selection = args.selection; ^ ./canvas/selectables.hpp:71:14: note: copy assignment operator of 'SelectableRef' is implicitly deleted because field 'uuid' has no copy assignment operator const UUID uuid; ^ 23 warnings and 1 error generated. gmake: *** [core/core.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 core/tool_route_track.cpp -o core/tool_route_track.o In file included from core/tool_route_track.cpp:1: In file included from core/tool_route_track.hpp:3: In file included from core/core.hpp:2: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from core/tool_route_track.cpp:1: In file included from core/tool_route_track.hpp:3: In file included from core/core.hpp:4: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from core/tool_route_track.cpp:3: core/core_board.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from core/tool_route_track.cpp:3: core/core_board.hpp:24:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from core/tool_route_track.cpp:3: core/core_board.hpp:28:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from core/tool_route_track.cpp:3: core/core_board.hpp:29:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from core/tool_route_track.cpp:3: core/core_board.hpp:30:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from core/tool_route_track.cpp:3: core/core_board.hpp:31:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from core/tool_route_track.cpp:3: core/core_board.hpp:70:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from core/tool_route_track.cpp:3: core/core_board.hpp:71:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from core/tool_route_track.cpp:4: In file included from ./obstacle/canvas_obstacle.hpp:2: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from core/tool_route_track.cpp:4: ./obstacle/canvas_obstacle.hpp:20:17: warning: 'img_net' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void img_net(const Net *net); ^ ./canvas/canvas.hpp:85:17: note: overridden virtual function is here virtual void img_net(const Net *net) {} ^ In file included from core/tool_route_track.cpp:4: ./obstacle/canvas_obstacle.hpp:21:17: warning: 'img_polygon' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void img_polygon(const Polygon &poly); ^ ./canvas/canvas.hpp:86:17: note: overridden virtual function is here virtual void img_polygon(const Polygon &poly) {} ^ core/tool_route_track.cpp:328:11: warning: unused variable 'brd' [-Wunused-variable] auto brd = core.b->get_board(); ^ 18 warnings and 3 errors generated. gmake: *** [core/tool_route_track.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 core/clipboard.cpp -o core/clipboard.o In file included from core/clipboard.cpp:1: In file included from core/clipboard.hpp:3: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from core/clipboard.cpp:1: In file included from core/clipboard.hpp:4: In file included from core/core.hpp:2: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from core/clipboard.cpp:2: In file included from ./canvas/canvas_cairo.hpp:2: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from core/clipboard.cpp:1: In file included from core/clipboard.hpp:3: In file included from ./canvas/selectables.hpp:2: common/common.hpp:61:48: warning: suggest braces around initialization of subobject [-Wmissing-braces] std::array as_array () const {return {x, y};} ^~~~ { } core/clipboard.cpp:33:33: note: in instantiation of member function 'horizon::Coord::as_array' requested here j["cursor_pos"] = cursor_pos.as_array(); ^ In file included from core/clipboard.cpp:1: In file included from core/clipboard.hpp:2: In file included from /usr/local/include/gtkmm-3.0/gtkmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:58: In file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:80: In file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8: In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:29: /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:172:14: error: cannot initialize return object of type '_cairo_status' with an rvalue of type 'typename deduce_result_type::type' (aka 'void') return (typed_rep->functor_).SIGC_WORKAROUND_OPERATOR_PARENTHESES::take, typename type_trait::take> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:180:38: note: in instantiation of member function 'sigc::internal::slot_call2<(lambda at core/clipboard.cpp:44:85), _cairo_status, const unsigned char *, unsigned int>::call_it' requested here { return reinterpret_cast(&call_it); } ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:607:91: note: in instantiation of member function 'sigc::internal::slot_call2<(lambda at core/clipboard.cpp:44:85), _cairo_status, const unsigned char *, unsigned int>::address' requested here slot_base::rep_->call_ = internal::slot_call2::address(); ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:1184:7: note: in instantiation of function template specialization 'sigc::slot2<_cairo_status, const unsigned char *, unsigned int>::slot2<(lambda at core/clipboard.cpp:44:85)>' requested here : parent_type(_A_func) {} ^ core/clipboard.cpp:44:85: note: in instantiation of function template specialization 'sigc::slot<_cairo_status, const unsigned char *, unsigned int, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::slot<(lambda at core/clipboard.cpp:44:85)>' requested here Cairo::RefPtr surface = Cairo::SvgSurface::create_for_stream([&stream](const unsigned char* c, unsigned int n)->Cairo::ErrorStatus{ ^ In file included from core/clipboard.cpp:1: In file included from core/clipboard.hpp:2: In file included from /usr/local/include/gtkmm-3.0/gtkmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:58: In file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:80: In file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8: In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:29: In file included from /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:7: /usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:103:7: error: void function 'operator()' should not return a value [-Wreturn-type] { return functor_(_A_arg1, _A_arg2); } ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:172:36: note: in instantiation of function template specialization 'sigc::adaptor_functor<(lambda at core/clipboard.cpp:44:85)>::operator()' requested here return (typed_rep->functor_).SIGC_WORKAROUND_OPERATOR_PARENTHESES::take, typename type_trait::take> ^ /usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:17:57: note: expanded from macro 'SIGC_WORKAROUND_OPERATOR_PARENTHESES' #define SIGC_WORKAROUND_OPERATOR_PARENTHESES template operator() ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:180:38: note: in instantiation of member function 'sigc::internal::slot_call2<(lambda at core/clipboard.cpp:44:85), _cairo_status, const unsigned char *, unsigned int>::call_it' requested here { return reinterpret_cast(&call_it); } ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:607:91: note: in instantiation of member function 'sigc::internal::slot_call2<(lambda at core/clipboard.cpp:44:85), _cairo_status, const unsigned char *, unsigned int>::address' requested here slot_base::rep_->call_ = internal::slot_call2::address(); ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:1184:7: note: in instantiation of function template specialization 'sigc::slot2<_cairo_status, const unsigned char *, unsigned int>::slot2<(lambda at core/clipboard.cpp:44:85)>' requested here : parent_type(_A_func) {} ^ core/clipboard.cpp:44:85: note: in instantiation of function template specialization 'sigc::slot<_cairo_status, const unsigned char *, unsigned int, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::slot<(lambda at core/clipboard.cpp:44:85)>' requested here Cairo::RefPtr surface = Cairo::SvgSurface::create_for_stream([&stream](const unsigned char* c, unsigned int n)->Cairo::ErrorStatus{ ^ 8 warnings and 5 errors generated. gmake: *** [core/clipboard.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 dialogs/pool_browser_symbol.cpp -o dialogs/pool_browser_symbol.o In file included from dialogs/pool_browser_symbol.cpp:1: In file included from dialogs/pool_browser_symbol.hpp:7: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from dialogs/pool_browser_symbol.cpp:1: In file included from dialogs/pool_browser_symbol.hpp:9: In file included from ./core/core.hpp:4: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from dialogs/pool_browser_symbol.cpp:4: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ dialogs/pool_browser_symbol.cpp:92:8: error: no matching member function for call to 'pack_start' box->pack_start(*canvas, true, true, 0); ~~~~~^~~~~~~~~~ /usr/local/include/gtkmm-3.0/gtkmm/box.h:201:8: note: candidate function not viable: no known conversion from 'class CanvasGL' to 'Gtk::Widget &' for 1st argument void pack_start(Widget& child, bool expand, bool fill, guint padding = 0); ^ /usr/local/include/gtkmm-3.0/gtkmm/box.h:208:8: note: candidate function not viable: requires at most 3 arguments, but 4 were provided void pack_start(Widget& child, PackOptions options = PACK_EXPAND_WIDGET, guint padding = 0); ^ In file included from dialogs/pool_browser_symbol.cpp:1: In file included from dialogs/pool_browser_symbol.hpp:2: In file included from /usr/local/include/gtkmm-3.0/gtkmm.h:95: In file included from /usr/local/include/gtkmm-3.0/gtkmm/toggleaction.h:28: In file included from /usr/local/include/gtkmm-3.0/gtkmm/action.h:32: In file included from /usr/local/include/gtkmm-3.0/gtkmm/widget.h:40: /usr/local/include/gtkmm-3.0/gtkmm/object.h:43:8: error: no member named 'set_manage' in 'horizon::CanvasGL' obj->set_manage(); ~~~ ^ dialogs/pool_browser_symbol.cpp:89:17: note: in instantiation of function template specialization 'Gtk::manage' requested here canvas = Gtk::manage(new CanvasGL()); ^ 7 warnings and 5 errors generated. gmake: *** [dialogs/pool_browser_symbol.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 core/core_padstack.cpp -o core/core_padstack.o In file included from core/core_padstack.cpp:1: In file included from core/core_padstack.hpp:2: In file included from pool/padstack.hpp:6: In file included from common/polygon.hpp:5: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from core/core_padstack.cpp:1: In file included from core/core_padstack.hpp:4: In file included from core/core.hpp:4: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from core/core_padstack.cpp:1: core/core_padstack.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from core/core_padstack.cpp:1: core/core_padstack.hpp:18:9: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void rebuild(bool from_undo=false); ^ core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from core/core_padstack.cpp:1: core/core_padstack.hpp:19:9: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void commit(); ^ core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from core/core_padstack.cpp:1: core/core_padstack.hpp:20:9: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void revert(); ^ core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from core/core_padstack.cpp:1: core/core_padstack.hpp:21:9: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void save(); ^ core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from core/core_padstack.cpp:1: core/core_padstack.hpp:41:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from core/core_padstack.cpp:1: core/core_padstack.hpp:42:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from core/core_padstack.cpp:1: In file included from core/core_padstack.hpp:2: In file included from pool/padstack.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/padstack.hpp:18:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here class Padstack : public UUIDProvider { ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const In file included from core/core_padstack.cpp:1: In file included from core/core_padstack.hpp:2: In file included from pool/padstack.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool/padstack.hpp:18:8: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here class Padstack : public UUIDProvider { ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const 12 warnings and 2 errors generated. gmake: *** [core/core_padstack.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 export_pdf.cpp -o export_pdf.o In file included from export_pdf.cpp:1: In file included from ./export_pdf.hpp:2: In file included from schematic/schematic.hpp:6: In file included from block/block.hpp:4: In file included from pool/pool.hpp:8: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from export_pdf.cpp:1: In file included from ./export_pdf.hpp:3: In file included from ./core/core.hpp:4: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from export_pdf.cpp:2: In file included from ./canvas/canvas_cairo.hpp:2: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ 7 warnings and 3 errors generated. gmake: *** [export_pdf.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 obstacle/canvas_obstacle.cpp -o obstacle/canvas_obstacle.o In file included from obstacle/canvas_obstacle.cpp:1: In file included from obstacle/canvas_obstacle.hpp:2: In file included from ./canvas/canvas.hpp:8: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from obstacle/canvas_obstacle.cpp:1: In file included from obstacle/canvas_obstacle.hpp:2: In file included from ./canvas/canvas.hpp:10: In file included from ./canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from obstacle/canvas_obstacle.cpp:1: In file included from obstacle/canvas_obstacle.hpp:2: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from obstacle/canvas_obstacle.cpp:1: obstacle/canvas_obstacle.hpp:20:17: warning: 'img_net' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void img_net(const Net *net); ^ ./canvas/canvas.hpp:85:17: note: overridden virtual function is here virtual void img_net(const Net *net) {} ^ In file included from obstacle/canvas_obstacle.cpp:1: obstacle/canvas_obstacle.hpp:21:17: warning: 'img_polygon' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void img_polygon(const Polygon &poly); ^ ./canvas/canvas.hpp:86:17: note: overridden virtual function is here virtual void img_polygon(const Polygon &poly) {} ^ In file included from obstacle/canvas_obstacle.cpp:3: ./core/core_board.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from obstacle/canvas_obstacle.cpp:3: ./core/core_board.hpp:24:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from obstacle/canvas_obstacle.cpp:3: ./core/core_board.hpp:28:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from obstacle/canvas_obstacle.cpp:3: ./core/core_board.hpp:29:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from obstacle/canvas_obstacle.cpp:3: ./core/core_board.hpp:30:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from obstacle/canvas_obstacle.cpp:3: ./core/core_board.hpp:31:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from obstacle/canvas_obstacle.cpp:3: ./core/core_board.hpp:70:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from obstacle/canvas_obstacle.cpp:3: ./core/core_board.hpp:71:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ 17 warnings and 3 errors generated. gmake: *** [obstacle/canvas_obstacle.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 export_gerber/gerber_export.cpp -o export_gerber/gerber_export.o In file included from export_gerber/gerber_export.cpp:1: In file included from export_gerber/gerber_export.hpp:2: In file included from board/board.hpp:4: In file included from pool/pool.hpp:8: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from export_gerber/gerber_export.cpp:1: In file included from export_gerber/gerber_export.hpp:3: In file included from ./core/core_board.hpp:3: In file included from ./core/core.hpp:4: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from export_gerber/gerber_export.cpp:1: In file included from export_gerber/gerber_export.hpp:3: ./core/core_board.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from export_gerber/gerber_export.cpp:1: In file included from export_gerber/gerber_export.hpp:3: ./core/core_board.hpp:24:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from export_gerber/gerber_export.cpp:1: In file included from export_gerber/gerber_export.hpp:3: ./core/core_board.hpp:28:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from export_gerber/gerber_export.cpp:1: In file included from export_gerber/gerber_export.hpp:3: ./core/core_board.hpp:29:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from export_gerber/gerber_export.cpp:1: In file included from export_gerber/gerber_export.hpp:3: ./core/core_board.hpp:30:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from export_gerber/gerber_export.cpp:1: In file included from export_gerber/gerber_export.hpp:3: ./core/core_board.hpp:31:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from export_gerber/gerber_export.cpp:1: In file included from export_gerber/gerber_export.hpp:3: ./core/core_board.hpp:70:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from export_gerber/gerber_export.cpp:1: In file included from export_gerber/gerber_export.hpp:3: ./core/core_board.hpp:71:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ In file included from export_gerber/gerber_export.cpp:2: In file included from export_gerber/canvas_gerber.hpp:2: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ 15 warnings and 3 errors generated. gmake: *** [export_gerber/gerber_export.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 export_gerber/canvas_gerber.cpp -o export_gerber/canvas_gerber.o In file included from export_gerber/canvas_gerber.cpp:1: In file included from export_gerber/canvas_gerber.hpp:2: In file included from ./canvas/canvas.hpp:8: ./canvas/selectables.hpp:52:11: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:11: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs ./canvas/selectables.hpp:52:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] return abs(a_x-b_x)*abs(a_y-b_y); ^ ./canvas/selectables.hpp:52:24: note: use function 'std::abs' instead return abs(a_x-b_x)*abs(a_y-b_y); ^~~ std::abs In file included from export_gerber/canvas_gerber.cpp:1: In file included from export_gerber/canvas_gerber.hpp:2: In file included from ./canvas/canvas.hpp:10: In file included from ./canvas/target.hpp:2: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from export_gerber/canvas_gerber.cpp:1: In file included from export_gerber/canvas_gerber.hpp:2: ./canvas/canvas.hpp:115:45: error: expected class name class CanvasGL: public Canvas, public Gtk::GLArea { ^ ./canvas/canvas.hpp:197:51: error: no member named 'GLContext' in namespace 'Gdk' virtual bool on_render(const Glib::RefPtr &context); ~~~~~^ ./canvas/canvas.hpp:202:22: error: no member named 'GLContext' in namespace 'Gdk' Glib::RefPtr on_create_context() override; ~~~~~^ ./canvas/canvas.hpp:149:17: warning: 'push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void push(); ^ ./canvas/canvas.hpp:71:17: note: overridden virtual function is here virtual void push() = 0; ^ ./canvas/canvas.hpp:150:17: warning: 'request_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void request_push(); ^ ./canvas/canvas.hpp:70:17: note: overridden virtual function is here virtual void request_push() = 0; ^ In file included from export_gerber/canvas_gerber.cpp:2: ./core/core_board.hpp:16:32: warning: 'get_layers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] const std::map &get_layers(); ^ ./core/core.hpp:127:40: note: overridden virtual function is here virtual const std::map &get_layers(); ^ In file included from export_gerber/canvas_gerber.cpp:2: ./core/core_board.hpp:24:17: warning: 'property_is_settable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr); ^ ./core/core.hpp:112:17: note: overridden virtual function is here virtual bool property_is_settable(const UUID &uu, ObjectType type, ObjectProperty::ID property, bool *handled=nullptr) {if(handled){*handled=false;}return true;} ^ In file included from export_gerber/canvas_gerber.cpp:2: ./core/core_board.hpp:28:17: warning: 'rebuild' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void rebuild(bool from_undo=false); ^ ./core/core.hpp:99:17: note: overridden virtual function is here virtual void rebuild(bool from_undo = false); ^ In file included from export_gerber/canvas_gerber.cpp:2: ./core/core_board.hpp:29:17: warning: 'commit' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void commit(); ^ ./core/core.hpp:103:17: note: overridden virtual function is here virtual void commit() = 0; ^ In file included from export_gerber/canvas_gerber.cpp:2: ./core/core_board.hpp:30:17: warning: 'revert' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void revert(); ^ ./core/core.hpp:104:17: note: overridden virtual function is here virtual void revert() = 0; ^ In file included from export_gerber/canvas_gerber.cpp:2: ./core/core_board.hpp:31:17: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] virtual void save(); ^ ./core/core.hpp:105:17: note: overridden virtual function is here virtual void save() = 0; ^ In file included from export_gerber/canvas_gerber.cpp:2: ./core/core_board.hpp:70:9: warning: 'history_push' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_push(); ^ ./core/core.hpp:174:17: note: overridden virtual function is here virtual void history_push() = 0; ^ In file included from export_gerber/canvas_gerber.cpp:2: ./core/core_board.hpp:71:9: warning: 'history_load' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void history_load(unsigned int i); ^ ./core/core.hpp:175:17: note: overridden virtual function is here virtual void history_load(unsigned int i) = 0; ^ 15 warnings and 3 errors generated. gmake: *** [export_gerber/canvas_gerber.o] Error 1 clang++38 -c -I. -Iblock -Iboard -Icommon -Iimp -Ipackage -Ipool -Ischematic -Iutil -Iconstraints -g3 -D_USE_MATH_DEFINES -fdata-sections -ffunction-sections -I/usr/local/include -I/usr/local/include/uuid -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/gtk-3.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/librsvg-2.0 -pthread -D_THREAD_SAFE -MP -MMD -pthread -Wall -Wshadow -std=c++14 pool-util/part-editor.cpp -o pool-util/part-editor.o In file included from pool-util/part-editor.cpp:1: In file included from pool-util/part-editor.hpp:2: In file included from pool/pool.hpp:8: In file included from pool/symbol.hpp:6: In file included from common/junction.hpp:7: In file included from block/net.hpp:7: In file included from constraints/constraints.hpp:5: In file included from constraints/clearance.hpp:3: util/uuid_path.hpp:11:35: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu):path({uu, uu}) {} ^~~~~~ { } util/uuid_path.hpp:12:53: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1):path({uu0, uu1}) {} ^~~~~~~~ { } util/uuid_path.hpp:13:70: warning: suggest braces around initialization of subobject [-Wmissing-braces] UUIDPath(const UUID &uu0, const UUID &uu1, const UUID &uu2):path({uu0, uu1, uu2}) {} ^~~~~~~~~~~~~ { } In file included from pool-util/part-editor.cpp:1: In file included from pool-util/part-editor.hpp:3: In file included from /usr/local/include/gtkmm-3.0/gtkmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:58: In file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:80: In file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8: In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:29: /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:172:14: error: cannot initialize return object of type 'int' with an rvalue of type 'typename deduce_result_type::type' (aka 'void') return (typed_rep->functor_).SIGC_WORKAROUND_OPERATOR_PARENTHESES::take, typename type_trait::take> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:180:38: note: in instantiation of member function 'sigc::internal::slot_call2<(lambda at pool-util/part-editor.cpp:426:55), int, const Gtk::TreeIter &, const Gtk::TreeIter &>::call_it' requested here { return reinterpret_cast(&call_it); } ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:607:91: note: in instantiation of member function 'sigc::internal::slot_call2<(lambda at pool-util/part-editor.cpp:426:55), int, const Gtk::TreeIter &, const Gtk::TreeIter &>::address' requested here slot_base::rep_->call_ = internal::slot_call2::address(); ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:1184:7: note: in instantiation of function template specialization 'sigc::slot2::slot2<(lambda at pool-util/part-editor.cpp:426:55)>' requested here : parent_type(_A_func) {} ^ pool-util/part-editor.cpp:426:55: note: in instantiation of function template specialization 'sigc::slot::slot<(lambda at pool-util/part-editor.cpp:426:55)>' requested here pad_store->set_sort_func(pad_list_columns.pad_name, [this](const Gtk::TreeModel::iterator &ia, const Gtk::TreeModel::iterator &ib) { ^ In file included from pool-util/part-editor.cpp:1: In file included from pool-util/part-editor.hpp:3: In file included from /usr/local/include/gtkmm-3.0/gtkmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm.h:87: In file included from /usr/local/include/glibmm-2.4/glibmm/thread.h:58: In file included from /usr/local/include/sigc++-2.0/sigc++/sigc++.h:80: In file included from /usr/local/include/sigc++-2.0/sigc++/signal.h:8: In file included from /usr/local/include/sigc++-2.0/sigc++/signal_base.h:29: In file included from /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:7: /usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:103:7: error: void function 'operator()' should not return a value [-Wreturn-type] { return functor_(_A_arg1, _A_arg2); } ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:172:36: note: in instantiation of function template specialization 'sigc::adaptor_functor<(lambda at pool-util/part-editor.cpp:426:55)>::operator()' requested here return (typed_rep->functor_).SIGC_WORKAROUND_OPERATOR_PARENTHESES::take, typename type_trait::take> ^ /usr/local/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:17:57: note: expanded from macro 'SIGC_WORKAROUND_OPERATOR_PARENTHESES' #define SIGC_WORKAROUND_OPERATOR_PARENTHESES template operator() ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:180:38: note: in instantiation of member function 'sigc::internal::slot_call2<(lambda at pool-util/part-editor.cpp:426:55), int, const Gtk::TreeIter &, const Gtk::TreeIter &>::call_it' requested here { return reinterpret_cast(&call_it); } ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:607:91: note: in instantiation of member function 'sigc::internal::slot_call2<(lambda at pool-util/part-editor.cpp:426:55), int, const Gtk::TreeIter &, const Gtk::TreeIter &>::address' requested here slot_base::rep_->call_ = internal::slot_call2::address(); ^ /usr/local/include/sigc++-2.0/sigc++/functors/slot.h:1184:7: note: in instantiation of function template specialization 'sigc::slot2::slot2<(lambda at pool-util/part-editor.cpp:426:55)>' requested here : parent_type(_A_func) {} ^ pool-util/part-editor.cpp:426:55: note: in instantiation of function template specialization 'sigc::slot::slot<(lambda at pool-util/part-editor.cpp:426:55)>' requested here pad_store->set_sort_func(pad_list_columns.pad_name, [this](const Gtk::TreeModel::iterator &ia, const Gtk::TreeModel::iterator &ib) { ^ In file included from pool-util/part-editor.cpp:1: In file included from pool-util/part-editor.hpp:2: In file included from pool/pool.hpp:2: In file included from util/uuid.hpp:8: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:626: /usr/include/c++/v1/utility:294:15: error: no viable overloaded '=' first = __p.first; ~~~~~ ^ ~~~~~~~~~ /usr/include/c++/v1/map:610:15: note: in instantiation of member function 'std::__1::pair::operator=' requested here {__nc = __v.__cc; return *this;} ^ /usr/include/c++/v1/__tree:1263:35: note: in instantiation of member function 'std::__1::__value_type::operator=' requested here __cache->__value_ = *__first; ^ /usr/include/c++/v1/__tree:1204:9: note: in instantiation of function template specialization 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::__assign_multi, std::__1::__tree_node, void *> *, long> >' requested here __assign_multi(__t.begin(), __t.end()); ^ /usr/include/c++/v1/map:885:21: note: in instantiation of member function 'std::__1::__tree, std::__1::__map_value_compare, std::__1::less, true>, std::__1::allocator > >::operator=' requested here __tree_ = __m.__tree_; ^ pool-util/part-editor.cpp:534:19: note: in instantiation of member function 'std::__1::map, std::__1::allocator > >::operator=' requested here part.pad_map = part.base->pad_map; ^ util/uuid.hpp:11:8: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const class UUID { ^ util/uuid.hpp:11:8: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const horizon::UUID', but method is not marked const 3 warnings and 3 errors generated. gmake: *** [pool-util/part-editor.o] Error 1 gmake: Target `all' not remade because of errors.