make plugin
In file included from ../../serverplugin.cpp:20:
../public/tier1/fmtstr.h:53:3: error: second argument to 'va_start' is not the last named parameter [-Werror,-Wvarargs]
FmtStrVSNPrintf(m_szBuf, SIZE_BUF, &pszFormat);
^
../public/tier1/fmtstr.h:30:21: note: expanded from macro 'FmtStrVSNPrintf'
va_start(arg_ptr, (*(ppszFormat))); \
^
../public/tier1/fmtstr.h:59:3: error: second argument to 'va_start' is not the last named parameter [-Werror,-Wvarargs]
FmtStrVSNPrintf(m_szBuf, SIZE_BUF, ppszFormat);
^
../public/tier1/fmtstr.h:30:21: note: expanded from macro 'FmtStrVSNPrintf'
va_start(arg_ptr, (*(ppszFormat))); \
^
../public/tier1/fmtstr.h:65:3: error: second argument to 'va_start' is not the last named parameter [-Werror,-Wvarargs]
FmtStrVSNPrintf(m_szBuf, SIZE_BUF, &pszFormat);
^
../public/tier1/fmtstr.h:30:21: note: expanded from macro 'FmtStrVSNPrintf'
va_start(arg_ptr, (*(ppszFormat))); \
^
../public/tier1/fmtstr.h:72:3: error: second argument to 'va_start' is not the last named parameter [-Werror,-Wvarargs]
FmtStrVSNPrintf(m_szBuf, SIZE_BUF, ppszFormat);
^
../public/tier1/fmtstr.h:30:21: note: expanded from macro 'FmtStrVSNPrintf'
va_start(arg_ptr, (*(ppszFormat))); \
^
../public/tier1/fmtstr.h:84:110: error: second argument to 'va_start' is not the last named parameter [-Werror,-Wvarargs]
void AppendFormat( const char *pchFormat, ... ) { int nLength = Length(); char *pchEnd = m_szBuf + nLength; FmtStrVSNPrintf( pchEnd, SI...
^
../public/tier1/fmtstr.h:30:21: note: expanded from macro 'FmtStrVSNPrintf'
va_start(arg_ptr, (*(ppszFormat))); \
^
../../serverplugin.cpp:135:15: error: variable type 'CServerPlugin' is an abstract class
CServerPlugin g_Plugin;
^
../public/engine/iserverplugin.h:137:17: note: unimplemented pure virtual method 'BNetworkCryptKeyCheckRequired' in 'CServerPlugin'
virtual bool BNetworkCryptKeyCheckRequired( uint32 unFromIP, uint16 usFromPort, uint32 unAccountIdProvidedByClient,
^
../public/engine/iserverplugin.h:151:17: note: unimplemented pure virtual method 'BNetworkCryptKeyValidate' in 'CServerPlugin'
virtual bool BNetworkCryptKeyValidate( uint32 unFromIP, uint16 usFromPort, uint32 unAccountIdProvidedByClient,
^
../../serverplugin.cpp:281:20: error: implicit instantiation of undefined template 'std::basic_string<char, std::char_traits<char>,
std::allocator<char> >'
static std::string ConvarFlagsString(const ConCommandBase *cmd)
^
/usr/include/c++/4.2.1/bits/stringfwd.h:56:11: note: template is declared here
class basic_string;
^
../../serverplugin.cpp:286:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [8]'
flags.push_back("devonly");
^~~~~~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:288:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [3]'
flags.push_back("sv");
^~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:290:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [3]'
flags.push_back("cl");
^~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:292:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [7]'
flags.push_back("hidden");
^~~~~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:294:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [5]'
flags.push_back("prot");
^~~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:296:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [3]'
flags.push_back("sp");
^~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:298:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [2]'
flags.push_back("a");
^~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:300:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [3]'
flags.push_back("nf");
^~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:302:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [5]'
flags.push_back("user");
^~~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:304:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [6]'
flags.push_back("print");
^~~~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:306:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [8]'
flags.push_back("numeric");
^~~~~~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
../../serverplugin.cpp:308:19: error: reference to type 'const value_type' (aka 'const std::basic_string<char, std::char_traits<char>,
std::allocator<char> >') could not bind to an lvalue of type 'const char [4]'
flags.push_back("rep");
^~~~~
/usr/include/c++/4.2.1/bits/stl_vector.h:600:35: note: passing argument to parameter '__x' here
push_back(const value_type& __x)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [obj/serverplugin_i486/serverplugin.o] Error 1
make: *** [plugin] Error 2