persson-dev / mclib Goto Github PK
View Code? Open in Web Editor NEWThis project forked from plushmonkey/mclib
C++ library for connecting to Minecraft servers
License: MIT License
This project forked from plushmonkey/mclib
C++ library for connecting to Minecraft servers
License: MIT License
Here is the output for building the realease - any ideas as I suspect it could be me?
Build started...
1>------ Build started: Project: mclib, Configuration: Release Win32 ------
1>Banner.cpp
1>Beacon.cpp
1>Bed.cpp
1>Block.cpp
1>BlockEntity.cpp
1>BrewingStand.cpp
1>Chest.cpp
1>Dispenser.cpp
1>Dropper.cpp
1>EnchantmentTable.cpp
1>EndGateway.cpp
1>FlowerPot.cpp
1>Furnace.cpp
1>Hopper.cpp
1>InventoryBlock.cpp
1>Jukebox.cpp
1>MonsterSpawner.cpp
1>NoteBlock.cpp
1>Piston.cpp
1>RedstoneComparator.cpp
1>Compiling...
1>ShulkerBox.cpp
1>Sign.cpp
1>Skull.cpp
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include\xstring(2603,27): warning C4244: 'argument': conversion from 'wchar_t' to 'const _Elem', possible loss of data
1> with
1> [
1> _Elem=char
1> ]
1>C:\Users\thomas\mclib\src\mclib\block\Skull.cpp(85): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>C:\Users\thomas\mclib\src\mclib\block\Skull.cpp(85): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>DataBuffer.cpp
1>DyeColor.cpp
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include\xstring(2603,27): warning C4244: 'argument': conversion from 'wchar_t' to 'const _Elem', possible loss of data
1> with
1> [
1> _Elem=char
1> ]
1>C:\Users\thomas\mclib\src\mclib\common\DyeColor.cpp(67): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>C:\Users\thomas\mclib\src\mclib\common\DyeColor.cpp(67): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>MCString.cpp
1>Position.cpp
1>UUID.cpp
1>VarInt.cpp
1>AuthToken.cpp
1>Client.cpp
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include\xstring(2603,27): warning C4244: 'argument': conversion from 'const wchar_t' to 'const _Elem', possible loss of data
1> with
1> [
1> _Elem=char
1> ]
1>C:\Users\thomas\mclib\include\mclib\util\Utility.h(25): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>C:\Users\thomas\mclib\include\mclib\util\Utility.h(25): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>ClientSettings.cpp
1>Compression.cpp
1>Connection.cpp
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include\xstring(2603,27): warning C4244: 'argument': conversion from 'const wchar_t' to 'const _Elem', possible loss of data
1> with
1> [
1> _Elem=char
1> ]
1>C:\Users\thomas\mclib\include\mclib\util\Utility.h(25): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>C:\Users\thomas\mclib\include\mclib\util\Utility.h(25): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>Encryption.cpp
1>PlayerManager.cpp
1>EntityManager.cpp
1>Metadata.cpp
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include\memory(3423,35): error C2280: 'mc::entity::EntityMetadata::PositionType::PositionType(void)': attempting to reference a deleted function
1>C:\Users\thomas\mclib\include\mclib\entity\Metadata.h(83): message : see declaration of 'mc::entity::EntityMetadata::PositionType::PositionType'
1>C:\Users\thomas\mclib\include\mclib\entity\Metadata.h(83,9): message : 'mc::entity::EntityMetadata::PositionType::PositionType(void)': function was implicitly deleted because a data member 'mc::entity::EntityMetadata::PositionType::value' has either no appropriate default constructor or overload resolution was ambiguous
1>C:\Users\thomas\mclib\include\mclib\entity\Metadata.h(81): message : see declaration of 'mc::entity::EntityMetadata::PositionType::value'
1>C:\Users\thomas\mclib\src\mclib\entity\Metadata.cpp(290): message : see reference to function template instantiation 'std::unique_ptr<mc::entity::EntityMetadata::PositionType,std::default_delete<mc::entity::EntityMetadata::PositionType>> std::make_unique<mc::entity::EntityMetadata::PositionType,,0>(void)' being compiled
1>Hotbar.cpp
1>Inventory.cpp
1>Compiling...
1>Slot.cpp
1>NBT.cpp
1>Tag.cpp
1>IPAddress.cpp
1>Network.cpp
1>Socket.cpp
1>TCPSocket.cpp
1>UDPSocket.cpp
1>Packet.cpp
1>C:\Users\thomas\mclib\src\mclib\protocol\packets\Packet.cpp(727,49): warning C4244: '-=': conversion from 'double' to 's32', possible loss of data
1>C:\Users\thomas\mclib\src\mclib\protocol\packets\Packet.cpp(729,49): warning C4244: '-=': conversion from 'double' to 's32', possible loss of data
1>C:\Users\thomas\mclib\src\mclib\protocol\packets\Packet.cpp(752,48): warning C4244: '=': conversion from 'u64' to 's16', possible loss of data
1>PacketDispatcher.cpp
1>PacketFactory.cpp
1>PacketHandler.cpp
1>Protocol.cpp
1>Forge.cpp
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include\xstring(2603,27): warning C4244: 'argument': conversion from 'const wchar_t' to 'const _Elem', possible loss of data
1> with
1> [
1> _Elem=char
1> ]
1>C:\Users\thomas\mclib\include\mclib\util\Utility.h(25): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>C:\Users\thomas\mclib\include\mclib\util\Utility.h(25): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>Hash.cpp
1>HTTPClient.cpp
1>Utility.cpp
1>C:\Users\thomas\mclib\src\mclib\util\Utility.cpp(1126,19): warning C4834: discarding return value of function with 'nodiscard' attribute
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include\xstring(2603,27): warning C4244: 'argument': conversion from 'const wchar_t' to 'const _Elem', possible loss of data
1> with
1> [
1> _Elem=char
1> ]
1>C:\Users\thomas\mclib\include\mclib\util\Utility.h(25): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>C:\Users\thomas\mclib\include\mclib\util\Utility.h(25): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include\xstring(2603,27): warning C4244: 'argument': conversion from 'wchar_t' to 'const _Elem', possible loss of data
1> with
1> [
1> _Elem=char
1> ]
1>C:\Users\thomas\mclib\src\mclib\util\Utility.cpp(1026): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>C:\Users\thomas\mclib\src\mclib\util\Utility.cpp(1026): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>VersionFetcher.cpp
1>Yggdrasil.cpp
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\include\xstring(2603,27): warning C4244: 'argument': conversion from 'const wchar_t' to 'const _Elem', possible loss of data
1> with
1> [
1> _Elem=char
1> ]
1>C:\Users\thomas\mclib\src\mclib\util\Yggdrasil.cpp(48): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>C:\Users\thomas\mclib\src\mclib\util\Yggdrasil.cpp(48): message : see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
1> with
1> [
1> _Elem=wchar_t,
1> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
1> _Alloc=std::allocator<char>
1> ]
1>Chunk.cpp
1>Compiling...
1>World.cpp
1>Done building project "mclib.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.