Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- In file included from steam_api_flat_test.h:15:0,
- from test.cpp:259:
- isteamclient.h:69:0: warning: "__cdecl" redefined
- #define __cdecl
- ^
- <built-in>: note: this is the location of the previous definition
- In file included from isteammatchmaking.h:15:0,
- from steam_api_flat_test.h:19,
- from test.cpp:259:
- matchmakingtypes.h: In constructor 'MatchMakingKeyValuePair_t::MatchMakingKeyValuePair_t(const char*, const char*)':
- matchmakingtypes.h:45:47: error: invalid conversion from 'const char*' to 'size_t {aka unsigned int}' [-fpermissive]
- strncpy_s( m_szKey, pchKey, sizeof(m_szKey) ); // this is a public header, use basic c library string funcs only!
- ^
- matchmakingtypes.h:45:37: error: invalid conversion from 'unsigned int' to 'const char*' [-fpermissive]
- strncpy_s( m_szKey, pchKey, sizeof(m_szKey) ); // this is a public header, use basic c library string funcs only!
- ^
- matchmakingtypes.h:45:47: error: too few arguments to function 'errno_t strncpy_s(char*, size_t, const char*, size_t)'
- strncpy_s( m_szKey, pchKey, sizeof(m_szKey) ); // this is a public header, use basic c library string funcs only!
- ^
- In file included from C:/Python27/share/mingwpy/i686-w64-mingw32/include/string.h:181:0,
- from C:/Python27/share/mingwpy/i686-w64-mingw32/include/io.h:10,
- from C:\Python27\include/pyconfig.h:68,
- from C:\Python27\include/Python.h:8,
- from test.cpp:15:
- C:/Python27/share/mingwpy/i686-w64-mingw32/include/sec_api/string_s.h:30:27: note: declared here
- _CRTIMP errno_t __cdecl strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
- ^
- In file included from isteammatchmaking.h:15:0,
- from steam_api_flat_test.h:19,
- from test.cpp:259:
- matchmakingtypes.h:47:53: error: invalid conversion from 'const char*' to 'size_t {aka unsigned int}' [-fpermissive]
- strncpy_s( m_szValue, pchValue, sizeof(m_szValue) );
- ^
- matchmakingtypes.h:47:41: error: invalid conversion from 'unsigned int' to 'const char*' [-fpermissive]
- strncpy_s( m_szValue, pchValue, sizeof(m_szValue) );
- ^
- matchmakingtypes.h:47:53: error: too few arguments to function 'errno_t strncpy_s(char*, size_t, const char*, size_t)'
- strncpy_s( m_szValue, pchValue, sizeof(m_szValue) );
- ^
- In file included from C:/Python27/share/mingwpy/i686-w64-mingw32/include/string.h:181:0,
- from C:/Python27/share/mingwpy/i686-w64-mingw32/include/io.h:10,
- from C:\Python27\include/pyconfig.h:68,
- from C:\Python27\include/Python.h:8,
- from test.cpp:15:
- C:/Python27/share/mingwpy/i686-w64-mingw32/include/sec_api/string_s.h:30:27: note: declared here
- _CRTIMP errno_t __cdecl strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
- ^
- In file included from isteammatchmaking.h:15:0,
- from steam_api_flat_test.h:19,
- from test.cpp:259:
- matchmakingtypes.h: In member function 'void gameserveritem_t::SetName(const char*)':
- matchmakingtypes.h:246:61: error: invalid conversion from 'const char*' to 'size_t {aka unsigned int}' [-fpermissive]
- strncpy_s( m_szServerName, pName, sizeof( m_szServerName ) );
- ^
- matchmakingtypes.h:246:42: error: invalid conversion from 'unsigned int' to 'const char*' [-fpermissive]
- strncpy_s( m_szServerName, pName, sizeof( m_szServerName ) );
- ^
- matchmakingtypes.h:246:61: error: too few arguments to function 'errno_t strncpy_s(char*, size_t, const char*, size_t)'
- strncpy_s( m_szServerName, pName, sizeof( m_szServerName ) );
- ^
- In file included from C:/Python27/share/mingwpy/i686-w64-mingw32/include/string.h:181:0,
- from C:/Python27/share/mingwpy/i686-w64-mingw32/include/io.h:10,
- from C:\Python27\include/pyconfig.h:68,
- from C:\Python27\include/Python.h:8,
- from test.cpp:15:
- C:/Python27/share/mingwpy/i686-w64-mingw32/include/sec_api/string_s.h:30:27: note: declared here
- _CRTIMP errno_t __cdecl strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
- ^
- error: command 'C:\\Python27\\Scripts\\gcc.exe' failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment