public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
>clang++ -std=c++11 -fsyntax-only -Iinclude/ src/*.cpp && clang++ -std=c++11 -fsyntax-only -Iinclude/ example/example-relay-server.cpp && clang++ -std=c++11 -fsyntax-only -Iinclude/ example/example-relay-client.cpp
 
In file included from src/RelayServer.cpp:3:
In file included from C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/
include\set:61:
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\bits/stl_set.h
:205:57: error:
no member named 'value' in
'std::is_nothrow_copy_constructible<std::less<unsigned short> >'
noexcept(is_nothrow_copy_constructible<_Compare>::value)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
src/RelayServer.cpp:31:22: note: in instantiation of exception specification for
 
'set' requested here
std::set<ID_type> IDs;
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:13
48:29: note:
in instantiation of template class
'std::remove_volatile<std::less<unsigned short> >' requested here
remove_const<typename remove_volatile<_Tp>::type>::type type;
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:16
5:11: note:
in instantiation of template class 'std::remove_cv<std::less<unsigned
short> >' requested here
remove_cv<_Tp>::type>::value)>
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:10
46:33: note:
in instantiation of template class 'std::is_void<std::less<unsigned short>
 
>' requested here
template<typename _Tp, bool = is_void<_Tp>::value>
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:10
61:14: note:
in instantiation of default argument for
'__is_nothrow_copy_constructible_impl<std::less<unsigned short> >'
required here
: public __is_nothrow_copy_constructible_impl<_Tp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\bits/stl_set.h
:205:16: note:
in instantiation of template class
'std::is_nothrow_copy_constructible<std::less<unsigned short> >' requested
 
here
noexcept(is_nothrow_copy_constructible<_Compare>::value)
^
src/RelayServer.cpp:31:22: note: in instantiation of exception specification for
 
'set' requested here
std::set<ID_type> IDs;
^
In file included from src/RelayServer.cpp:6:
In file included from C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/
include\map:61:
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\bits/stl_map.h
:192:57: error:
no member named 'value' in
'std::is_nothrow_copy_constructible<std::less<unsigned short> >'
noexcept(is_nothrow_copy_constructible<_Compare>::value)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
src/RelayServer.cpp:63:28: note: in instantiation of exception specification for
 
'map' requested here
std::map<ID_t, Client *> clients;
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:13
48:29: note:
in instantiation of template class
'std::remove_volatile<std::less<unsigned short> >' requested here
remove_const<typename remove_volatile<_Tp>::type>::type type;
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:16
5:11: note:
in instantiation of template class 'std::remove_cv<std::less<unsigned
short> >' requested here
remove_cv<_Tp>::type>::value)>
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:10
46:33: note:
in instantiation of template class 'std::is_void<std::less<unsigned short>
 
>' requested here
template<typename _Tp, bool = is_void<_Tp>::value>
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:10
61:14: note:
in instantiation of default argument for
'__is_nothrow_copy_constructible_impl<std::less<unsigned short> >'
required here
: public __is_nothrow_copy_constructible_impl<_Tp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\bits/stl_set.h
:205:16: note:
in instantiation of template class
'std::is_nothrow_copy_constructible<std::less<unsigned short> >' requested
 
here
noexcept(is_nothrow_copy_constructible<_Compare>::value)
^
src/RelayServer.cpp:31:22: note: in instantiation of exception specification for
 
'set' requested here
std::set<ID_type> IDs;
^
In file included from src/RelayServer.cpp:6:
In file included from C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/
include\map:61:
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\bits/stl_map.h
:192:57: error:
no member named 'value' in
'std::is_nothrow_copy_constructible<std::less<unsigned short> >'
noexcept(is_nothrow_copy_constructible<_Compare>::value)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
src/RelayServer.cpp:64:29: note: in instantiation of exception specification for
 
'map' requested here
std::map<ID_t, Channel *> channels;
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:13
48:29: note:
in instantiation of template class
'std::remove_volatile<std::less<unsigned short> >' requested here
remove_const<typename remove_volatile<_Tp>::type>::type type;
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:16
5:11: note:
in instantiation of template class 'std::remove_cv<std::less<unsigned
short> >' requested here
remove_cv<_Tp>::type>::value)>
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:10
46:33: note:
in instantiation of template class 'std::is_void<std::less<unsigned short>
 
>' requested here
template<typename _Tp, bool = is_void<_Tp>::value>
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:10
61:14: note:
in instantiation of default argument for
'__is_nothrow_copy_constructible_impl<std::less<unsigned short> >'
required here
: public __is_nothrow_copy_constructible_impl<_Tp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\bits/stl_set.h
:205:16: note:
in instantiation of template class
'std::is_nothrow_copy_constructible<std::less<unsigned short> >' requested
 
here
noexcept(is_nothrow_copy_constructible<_Compare>::value)
^
src/RelayServer.cpp:31:22: note: in instantiation of exception specification for
 
'set' requested here
std::set<ID_type> IDs;
^
src/RelayServer.cpp:52:9: error: exception specification of explicitly defaulted
 
move assignment operator does not match the calculated one
Impl &operator=(Impl &&) noexcept(true) = default;
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:13
48:29: note:
in instantiation of template class
'std::remove_volatile<std::less<unsigned short> >' requested here
remove_const<typename remove_volatile<_Tp>::type>::type type;
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:16
5:11: note:
in instantiation of template class 'std::remove_cv<std::less<unsigned
short> >' requested here
remove_cv<_Tp>::type>::value)>
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:10
46:33: note:
in instantiation of template class 'std::is_void<std::less<unsigned short>
 
>' requested here
template<typename _Tp, bool = is_void<_Tp>::value>
^
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\type_traits:10
61:14: note:
in instantiation of default argument for
'__is_nothrow_copy_constructible_impl<std::less<unsigned short> >'
required here
: public __is_nothrow_copy_constructible_impl<_Tp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\bits/stl_set.h
:205:16: note:
in instantiation of template class
'std::is_nothrow_copy_constructible<std::less<unsigned short> >' requested
 
here
noexcept(is_nothrow_copy_constructible<_Compare>::value)
^
src/RelayServer.cpp:31:22: note: in instantiation of exception specification for
 
'set' requested here
std::set<ID_type> IDs;
^
src/RelayServer.cpp:52:9: error: exception specification of explicitly defaulted
 
move assignment operator does not match the calculated one
Impl &operator=(Impl &&) noexcept(true) = default;
^
In file included from src/RelayServer.cpp:1:
In file included from include\Relay.hpp:7:
In file included from C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/
include\memory:81:
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\bits/unique_pt
r.h:65:16: error:
invalid application of 'sizeof' to an incomplete type
'LwRelay::Server::Deny::Impl'
static_assert(sizeof(_Tp)>0,
^~~~~~~~~~~
C:/clang/bin/../lib/clang/3.3/../../../x86_64-w64-mingw32/include\bits/unique_pt
r.h:184:4: note:
in instantiation of member function
'std::default_delete<LwRelay::Server::Deny::Impl>::operator()' requested
here
get_deleter()(__ptr);
^
include\Relay.hpp:412:4: note: in instantiation of member function
'std::unique_ptr<LwRelay::Server::Deny::Impl,
std::default_delete<LwRelay::Server::Deny::Impl> >::~unique_ptr' requested
 
here
Deny(Deny &&) noexcept(true) = default;
^
include\Relay.hpp:416:11: note: forward declaration of
'LwRelay::Server::Deny::Impl'
struct Impl;
^
6 errors generated.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.