Guest User

Untitled

a guest
Feb 6th, 2017
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.60 KB | None | 0 0
  1. rogram files (x86)\microsoft visual studio 14.0\vc\include\vector(2535): warning C4800: 'unsigned int': forcing value to bool 'true' or 'false' (performance warning)
  2. 1>  c:\users\winfows\documents\github\tt\engine\framework\func.h(25): note: see reference to function template instantiation 'void std::vector<bool,std::allocator<_Ty>>::emplace_back<unsigned int>(unsigned int &&)' being compiled
  3. 1>          with
  4. 1>          [
  5. 1>              _Ty=bool
  6. 1>          ]
  7. 1>  c:\users\winfows\documents\github\tt\engine\framework\func.h(25): note: see reference to function template instantiation 'void std::vector<bool,std::allocator<_Ty>>::emplace_back<unsigned int>(unsigned int &&)' being compiled
  8. 1>          with
  9. 1>          [
  10. 1>              _Ty=bool
  11. 1>          ]
  12. 1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility(2372): warning C4996: 'std::copy::_Unchecked_iterators::_Deprecate': Call to 'std::copy' with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
  13. 1>  c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility(2372): note: see declaration of 'std::copy::_Unchecked_iterators::_Deprecate'
  14. 1>  c:\users\winfows\documents\github\tt\engine\player.cpp(47): note: see reference to function template instantiation '_OutIt *std::copy<char*,unsigned char*>(_InIt,_InIt,_OutIt)' being compiled
  15. 1>          with
  16. 1>          [
  17. 1>              _OutIt=unsigned char *,
  18. 1>              _InIt=char *
  19. 1>          ]
Advertisement
Add Comment
Please, Sign In to add comment