Raised This Month: $51 Target: $400
 12% 

SMEXT_CONF_METAMOD compile errors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
client21
Senior Member
Join Date: Apr 2013
Old 04-05-2017 , 00:02   SMEXT_CONF_METAMOD compile errors
Reply With Quote #1

default smsdk_config.h:
//#define SMEXT_CONF_METAMOD <- ok, good compile, work

if this:
#define SMEXT_CONF_METAMOD
I have compile errors:

Code:
metamod\sourcehook\sh_memfuncinfo.h(293): error C2332: 'class' : missing tag name
metamod\sourcehook\sh_memfuncinfo.h(293): error C2993: '' : illegal type for non-type template parameter '<unnamed-tag>'
metamod\sourcehook\sh_memfuncinfo.h(293): error C2143: syntax error : missing ',' before '...'
metamod\sourcehook\sh_memfuncinfo.h(294): error C2061: syntax error : identifier 'Params'
I use vs c++ 2010
Maybe its other syntax, not for vs c++ 2010, and i must use other version?
sh_memfuncinfo.h(293) :
Code:
template<class X, class Y, class RetType, class ... Params>
client21 is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 04-05-2017 , 01:33   Re: SMEXT_CONF_METAMOD compile errors
Reply With Quote #2

Variadic template parameters are a C++11 feature that isn't implemented in Visual Studio till VS2013.
Fyren is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode