18.11.2016, 10:29
I'm started to love GCC, really..
OMG.
Код:
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/Addresses.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/Addresses.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/CCallbackManager.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/CCallbackManager.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/CGangZonePool.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/CGangZonePool.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/CModelSizes.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/CModelSizes.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/CPickupPool.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/CPickupPool.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/CPlayerData.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/CPlayerData.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/CServer.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/CServer.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/Functions.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/Functions.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
./src/Functions.cpp: In static member function ‘static void CSAMPFunctions::RespawnVehicle(CVehicle*)’:
./src/Functions.cpp:339:39: error: ‘struct std::pair<const int, CVehicleSpawn>’ has no member named ‘second’
pVehicle->customSpawn.iModelID = v->second.iModelID;
^
./src/Functions.cpp:340:37: error: ‘struct std::pair<const int, CVehicleSpawn>’ has no member named ‘second’
pVehicle->customSpawn.vecPos = v->second.vecPos;
^
./src/Functions.cpp:341:35: error: ‘struct std::pair<const int, CVehicleSpawn>’ has no member named ‘second’
pVehicle->customSpawn.fRot = v->second.fRot;
^
./src/Functions.cpp:342:38: error: ‘struct std::pair<const int, CVehicleSpawn>’ has no member named ‘second’
pVehicle->customSpawn.iColor1 = v->second.iColor1;
^
./src/Functions.cpp:343:38: error: ‘struct std::pair<const int, CVehicleSpawn>’ has no member named ‘second’
pVehicle->customSpawn.iColor2 = v->second.iColor2;
^
./src/Functions.cpp:344:43: error: ‘struct std::pair<const int, CVehicleSpawn>’ has no member named ‘second’
pVehicle->customSpawn.iRespawnTime = v->second.iRespawnTime;
^
./src/Functions.cpp:345:40: error: ‘struct std::pair<const int, CVehicleSpawn>’ has no member named ‘second’
pVehicle->customSpawn.iInterior = v->second.iInterior;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/Hooks.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/Hooks.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/RPCs.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/RPCs.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/Scripting.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/Scripting.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
./src/Scripting.cpp: In function ‘cell Natives::GetVehicleSpawnInfo(AMX*, cell*)’:
./src/Scripting.cpp:2641:21: error: ‘struct std::pair<const int, CVehicleSpawn>’ has no member named ‘second’
spawn.vecPos = v->second.vecPos;
^
./src/Scripting.cpp:2642:19: error: ‘struct std::pair<const int, CVehicleSpawn>’ has no member named ‘second’
spawn.fRot = v->second.fRot;
^
./src/Scripting.cpp:2643:22: error: ‘struct std::pair<const int, CVehicleSpawn>’ has no member named ‘second’
spawn.iColor1 = v->second.iColor1;
^
./src/Scripting.cpp:2644:22: error: ‘struct std::pair<const int, CVehicleSpawn>’ has no member named ‘second’
spawn.iColor2 = v->second.iColor2;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/Scripting.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘constexpr std::pair<_T1, _T2>::pair(std::pair<_U1, _U2>&&) [with _U1 = int; _U2 = CVehicleSpawn; <template-parameter-2-3> = void; _T1 = const int; _T2 = CVehicleSpawn]’:
/usr/include/c++/4.8/type_traits:801:43: required from ‘struct std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, std::pair<int, CVehicleSpawn>&&>’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, std::pair<int, CVehicleSpawn>&&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, std::pair<int, CVehicleSpawn>&&>’
/usr/include/c++/4.8/type_traits:895:12: required from ‘struct std::__is_direct_constructible_new<std::pair<const int, CVehicleSpawn>, std::pair<int, CVehicleSpawn>&&>’
/usr/include/c++/4.8/type_traits:903:12: required from ‘struct std::__is_direct_constructible<std::pair<const int, CVehicleSpawn>, std::pair<int, CVehicleSpawn>&&>’
/usr/include/c++/4.8/type_traits:944:12: required from ‘struct std::__is_constructible_impl<std::pair<const int, CVehicleSpawn>, std::pair<int, CVehicleSpawn>&&>’
/usr/include/c++/4.8/type_traits:955:12: required from ‘struct std::is_constructible<std::pair<const int, CVehicleSpawn>, std::pair<int, CVehicleSpawn>&&>’
/usr/include/c++/4.8/bits/unordered_map.h:365:32: required from here
/usr/include/c++/4.8/bits/stl_pair.h:152:40: error: using invalid field ‘std::pair<_T1, _T2>::second’
second(std::forward<_U2>(__p.second)) { }
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/Utils.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/Utils.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/amxfunctions.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/amxfunctions.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
from /usr/include/c++/4.8/bits/stl_tree.h:61,
from /usr/include/c++/4.8/map:60,
from ./src/main.h:137,
from ./src/main.cpp:33:
/usr/include/c++/4.8/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, CVehicleSpawn>’:
/usr/include/c++/4.8/type_traits:615:28: required from ‘struct std::__is_destructible_impl<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:637:12: required from ‘struct std::__is_destructible_safe<std::pair<const int, CVehicleSpawn>, false, false>’
/usr/include/c++/4.8/type_traits:652:12: required from ‘struct std::is_destructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/type_traits:116:12: required from ‘struct std::__and_<std::is_destructible<std::pair<const int, CVehicleSpawn> >, std::__is_direct_constructible_impl<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&> >’
/usr/include/c++/4.8/type_traits:817:12: required from ‘struct std::__is_direct_constructible_new_safe<std::pair<const int, CVehicleSpawn>, const std::pair<const int, CVehicleSpawn>&>’
/usr/include/c++/4.8/type_traits:895:12: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/c++/4.8/type_traits:968:12: required from ‘struct std::__is_copy_constructible_impl<std::pair<const int, CVehicleSpawn>, false>’
/usr/include/c++/4.8/type_traits:974:12: required from ‘struct std::is_copy_constructible<std::pair<const int, CVehicleSpawn> >’
/usr/include/c++/4.8/bits/alloc_traits.h:540:12: required from ‘struct std::__is_copy_insertable<std::allocator<std::pair<const int, CVehicleSpawn> > >’
/usr/include/c++/4.8/bits/alloc_traits.h:560:63: required by substitution of ‘template<class _Alloc> using __check_copy_constructible = std::__allow_copy_cons<std::__is_copy_insertable<_Alloc>::value> [with _Alloc = std::allocator<std::pair<const int, CVehicleSpawn> >]’
/usr/include/c++/4.8/bits/unordered_map.h:97:11: required from ‘class std::unordered_map<int, CVehicleSpawn>’
./src/CServer.h:124:41: required from here
/usr/include/c++/4.8/bits/stl_pair.h:102:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
_T2 second; /// @c second is a copy of the second object
^
In file included from ./src/Structs.h:36:0,
from ./src/CGangZonePool.h:37,
from ./src/main.h:155,
from ./src/main.cpp:33:
./src/CServer.h:38:8: error: forward declaration of ‘struct CVehicleSpawn’
struct CVehicleSpawn;
^

