AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Help Compiling error (https://forums.alliedmods.net/showthread.php?t=322569)

FreezerPT 03-30-2020 08:25

Help Compiling error
 
1 Attachment(s)
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!

Bacardi 03-30-2020 11:07

Re: Help Compiling error
 
@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

Dragokas 03-30-2020 11:08

Re: Help Compiling error
 
Use this version of smlib: https://github.com/bcserv/smlib/tree...itional_syntax


All times are GMT -4. The time now is 11:18.

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