/usr/bin/c++ -Dignition_transport6_log_EXPORTS -I/usr/ports/devel/ignition-transport/work/ignitionrobotics-ign-transport-ead061f17fe6241aa6c2a64db0f921d9145cacd8/include -Iinclude -I/usr/ports/devel/ignition-transport/work/ignitionrobotics-ign-transport-ead061f17fe6241aa6c2a64db0f921d9145cacd8/log/include -Ilog/include -I/usr/ports/devel/ignition-transport/work/ignitionrobotics-ign-transport-ead061f17fe6241aa6c2a64db0f921d9145cacd8/log/src/../include -Ilog/src -Icore/include -isystem /usr/local/include/ignition/msgs3 -isystem /usr/local/include -isystem /usr/local/include/ignition/math6 -isystem /usr/local/include/uuid -O2 -pipe -fno-omit-frame-pointer -fstack-protector -fno-strict-aliasing -fno-omit-frame-pointer -O2 -pipe -fno-omit-frame-pointer -fstack-protector -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -Wno-long-long -Wno-unused-value -Wfloat-equal -Wshadow -Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic -fPIC -msse -msse2 -mfpmath=sse -I/usr/local/include/uuid -I/usr/local/include -std=c++17 -MD -MT log/src/CMakeFiles/ignition-transport6-log.dir/QueryOptions.cc.o -MF log/src/CMakeFiles/ignition-transport6-log.dir/QueryOptions.cc.o.d -o log/src/CMakeFiles/ignition-transport6-log.dir/QueryOptions.cc.o -c /usr/ports/devel/ignition-transport/work/ignitionrobotics-ign-transport-ead061f17fe6241aa6c2a64db0f921d9145cacd8/log/src/QueryOptions.cc
In file included from /usr/ports/devel/ignition-transport/work/ignitionrobotics-ign-transport-ead061f17fe6241aa6c2a64db0f921d9145cacd8/log/src/QueryOptions.cc:19:
In file included from /usr/include/c++/v1/regex:759:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:477:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:56:
In file included from /usr/include/c++/v1/algorithm:643:
/usr/include/c++/v1/memory:1805:31: error: call to constructor of 'ignition::transport::log::v6::SqlParameter' is ambiguous
::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/memory:1715:18: note: in instantiation of function template specialization 'std::__1::allocator<ignition::transport::log::v6::SqlParameter>::construct<ignition::transport::log::v6::SqlParameter, long long>' requested here
{__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
^
/usr/include/c++/v1/memory:1561:14: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<ignition::transport::log::v6::SqlParameter> >::__construct<ignition::transport::log::v6::SqlParameter, long long>' requested here
{__construct(__has_construct<allocator_type, _Tp*, _Args...>(),
^
/usr/include/c++/v1/vector:1648:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<ignition::transport::log::v6::SqlParameter> >::construct<ignition::transport::log::v6::SqlParameter, long long>' requested here
__alloc_traits::construct(this->__alloc(),
^
/usr/ports/devel/ignition-transport/work/ignitionrobotics-ign-transport-ead061f17fe6241aa6c2a64db0f921d9145cacd8/log/src/QueryOptions.cc:116:22: note: in instantiation of function template specialization 'std::__1::vector<ignition::transport::log::v6::SqlParameter, std::__1::allocator<ignition::transport::log::v6::SqlParameter> >::emplace_back<long long>' requested here
sql.parameters.emplace_back(start.GetTime()->count());
^
/usr/ports/devel/ignition-transport/work/ignitionrobotics-ign-transport-ead061f17fe6241aa6c2a64db0f921d9145cacd8/log/include/ignition/transport/log/SqlStatement.hh:67:26: note: candidate constructor
public: explicit SqlParameter(int64_t _integer);
^
/usr/ports/devel/ignition-transport/work/ignitionrobotics-ign-transport-ead061f17fe6241aa6c2a64db0f921d9145cacd8/log/include/ignition/transport/log/SqlStatement.hh:72:26: note: candidate constructor
public: explicit SqlParameter(double _real);
^
Original report (archived issue) by yurivict (Bitbucket: yurivict).
FreeBSD 11.2 amd64 clang-6