Raised This Month: $18 Target: $400
 4% 

Help Compiling error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FreezerPT
Senior Member
Join Date: Mar 2017
Location: Lisbon, Portugal
Old 03-30-2020 , 08:25   Help Compiling error
Reply With Quote #1

I Iam new with this plugins and I want to compile a plugin but when I try to compile it, gives me a
error:

C:\Users\User\Downloads\Compiler\addons\sourc emod\scripting\include\smlib/entities.inc(1773) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePa...yntax#Typedefs

I want to know How I solve this!
Attached Files
File Type: sp Get Plugin or Get Source (retakes_standardallocator.sp - 18 views - 35.2 KB)
__________________
FreezerPT is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-30-2020 , 11:07   Re: Help Compiling error
Reply With Quote #2

@berni
SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
https://forums.alliedmods.net/showthread.php?t=148387

Is using "old style" coding.
I'm not sure, can you bypass that by comment this line.
Code:
#pragma newdecls required
to this
//#pragma newdecls required


SMLIB can be found from github https://github.com/bcserv/smlib
And some people try to update to "new style"
https://github.com/bcserv/smlib/issues/54

SMLIB is just old, little outdated.

*edit
@Dragokas found updated smlib link
__________________
Do not Private Message @me

Last edited by Bacardi; 03-30-2020 at 11:21.
Bacardi is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 03-30-2020 , 11:08   Re: Help Compiling error
Reply With Quote #3

Use this version of smlib: https://github.com/bcserv/smlib/tree...itional_syntax
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D1 fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles]
Dragokas is offline
Reply


Thread Tools
Display Modes

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 20:19.


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