2n2u

Untitled

Jan 29th, 2016
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. C:\Python27\Scripts\gcc.exe -mdll -O -Wall -IC:\Python27\include -IC:\Python27\PC -c test.cpp -o build\temp.win32-2.7\Release\test.o
  2. In file included from steam_api_flat_test.h:15:0,
  3. from test.cpp:259:
  4. isteamclient.h:69:0: warning: "__cdecl" redefined
  5. #define __cdecl
  6. ^
  7. <built-in>: note: this is the location of the previous definition
  8. In file included from isteammatchmaking.h:15:0,
  9. from steam_api_flat_test.h:19,
  10. from test.cpp:259:
  11. matchmakingtypes.h: In constructor 'MatchMakingKeyValuePair_t::MatchMakingKeyValuePair_t(const char*, const char*)':
  12. matchmakingtypes.h:45:47: error: invalid conversion from 'const char*' to 'size_t {aka unsigned int}' [-fpermissive]
  13. strncpy_s( m_szKey, pchKey, sizeof(m_szKey) ); // this is a public header, use basic c library string funcs only!
  14. ^
  15. matchmakingtypes.h:45:37: error: invalid conversion from 'unsigned int' to 'const char*' [-fpermissive]
  16. strncpy_s( m_szKey, pchKey, sizeof(m_szKey) ); // this is a public header, use basic c library string funcs only!
  17. ^
  18. matchmakingtypes.h:45:47: error: too few arguments to function 'errno_t strncpy_s(char*, size_t, const char*, size_t)'
  19. strncpy_s( m_szKey, pchKey, sizeof(m_szKey) ); // this is a public header, use basic c library string funcs only!
  20. ^
  21. In file included from C:/Python27/share/mingwpy/i686-w64-mingw32/include/string.h:181:0,
  22. from C:/Python27/share/mingwpy/i686-w64-mingw32/include/io.h:10,
  23. from C:\Python27\include/pyconfig.h:68,
  24. from C:\Python27\include/Python.h:8,
  25. from test.cpp:15:
  26. C:/Python27/share/mingwpy/i686-w64-mingw32/include/sec_api/string_s.h:30:27: note: declared here
  27. _CRTIMP errno_t __cdecl strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
  28. ^
  29. In file included from isteammatchmaking.h:15:0,
  30. from steam_api_flat_test.h:19,
  31. from test.cpp:259:
  32. matchmakingtypes.h:47:53: error: invalid conversion from 'const char*' to 'size_t {aka unsigned int}' [-fpermissive]
  33. strncpy_s( m_szValue, pchValue, sizeof(m_szValue) );
  34. ^
  35. matchmakingtypes.h:47:41: error: invalid conversion from 'unsigned int' to 'const char*' [-fpermissive]
  36. strncpy_s( m_szValue, pchValue, sizeof(m_szValue) );
  37. ^
  38. matchmakingtypes.h:47:53: error: too few arguments to function 'errno_t strncpy_s(char*, size_t, const char*, size_t)'
  39. strncpy_s( m_szValue, pchValue, sizeof(m_szValue) );
  40. ^
  41. In file included from C:/Python27/share/mingwpy/i686-w64-mingw32/include/string.h:181:0,
  42. from C:/Python27/share/mingwpy/i686-w64-mingw32/include/io.h:10,
  43. from C:\Python27\include/pyconfig.h:68,
  44. from C:\Python27\include/Python.h:8,
  45. from test.cpp:15:
  46. C:/Python27/share/mingwpy/i686-w64-mingw32/include/sec_api/string_s.h:30:27: note: declared here
  47. _CRTIMP errno_t __cdecl strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
  48. ^
  49. In file included from isteammatchmaking.h:15:0,
  50. from steam_api_flat_test.h:19,
  51. from test.cpp:259:
  52. matchmakingtypes.h: In member function 'void gameserveritem_t::SetName(const char*)':
  53. matchmakingtypes.h:246:61: error: invalid conversion from 'const char*' to 'size_t {aka unsigned int}' [-fpermissive]
  54. strncpy_s( m_szServerName, pName, sizeof( m_szServerName ) );
  55. ^
  56. matchmakingtypes.h:246:42: error: invalid conversion from 'unsigned int' to 'const char*' [-fpermissive]
  57. strncpy_s( m_szServerName, pName, sizeof( m_szServerName ) );
  58. ^
  59. matchmakingtypes.h:246:61: error: too few arguments to function 'errno_t strncpy_s(char*, size_t, const char*, size_t)'
  60. strncpy_s( m_szServerName, pName, sizeof( m_szServerName ) );
  61. ^
  62. In file included from C:/Python27/share/mingwpy/i686-w64-mingw32/include/string.h:181:0,
  63. from C:/Python27/share/mingwpy/i686-w64-mingw32/include/io.h:10,
  64. from C:\Python27\include/pyconfig.h:68,
  65. from C:\Python27\include/Python.h:8,
  66. from test.cpp:15:
  67. C:/Python27/share/mingwpy/i686-w64-mingw32/include/sec_api/string_s.h:30:27: note: declared here
  68. _CRTIMP errno_t __cdecl strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
  69. ^
  70. error: command 'C:\\Python27\\Scripts\\gcc.exe' failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment