-
Notifications
You must be signed in to change notification settings - Fork 392
Closed
Labels
Description
I get -Wmismatched-tags compiler warning when compiling with Clang+Libc++ 4.0 (binaries are here)
[ 18%] Building CXX object rpclib_wrapper/rpclib/CMakeFiles/AirSim-rpclib.dir/lib/rpc/nonstd/optional.cc.o
In file included from /home/shitals/GitHubSrc/AirSim/external/rpclib/lib/rpc/nonstd/optional.cc:1:
/home/shitals/GitHubSrc/AirSim/external/rpclib/include/rpc/nonstd/optional.hpp:1069:1: warning: 'hash' defined as a class template
here but previously declared as a struct template [-Wmismatched-tags]
class hash< nonstd::optional<T> >
^
/home/shitals/GitHubSrc/AirSim/llvm-build/output/include/c++/v1/type_traits:397:22: note: did you mean class here?
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS hash;
^
1 warning generated.
sztomi and agurod42