Raised This Month: $ Target: $400
 0% 

Some BS compiling issue, need help!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 05-01-2015 , 18:32   Some BS compiling issue, need help!
Reply With Quote #1

yesterday, I was able to compile a plugin without issue, and ever since, no code has changed... but now, when I compile it, I get these stupid errors:

Code:
SourcePawn Compiler 1.7.2-dev+5191
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC

H:\Utilities\SourcePawnIDE\include\float.inc(384) : warning 219: local variable "angle" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\float.inc(395) : warning 219: local variable "angle" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\clients.inc(361) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\usermessages.inc(255) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\halflife.inc(569) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\halflife.inc(591) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\commandfilters.inc(97) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\helpers.inc(46) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\helpers.inc(155) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\entity_prop_stocks.inc(539) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\sdktools_sound.inc(380) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\sdktools_sound.inc(610) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\sdktools_tempents.inc(221) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(58) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(82) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(105) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(124) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(443) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(480) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(503) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(545) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(573) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(601) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(632) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(665) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(699) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(731) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(809) : warning 219: local variable "client" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(815) : warning 219: local variable "angle" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(815) : warning 219: local variable "resultent" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(815) : warning 219: local variable "resultvecpos" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(815) : warning 219: local variable "resultvecnormal" shadows a variable at a preceding level
H:\Utilities\SourcePawnIDE\include\stocklib.inc(815) : error 001: expected token: "-identifier-", but found "function"
H:\Utilities\SourcePawnIDE\include\stocklib.inc(815) : error 010: invalid function or declaration
H:\Utilities\SourcePawnIDE\include\stocklib.inc(819) : error 021: symbol already defined: "traceresulthandle"
H:\Utilities\SourcePawnIDE\include\stocklib.inc(821) : error 010: invalid function or declaration
H:\Utilities\SourcePawnIDE\include\stocklib.inc(823) : error 010: invalid function or declaration
H:\Utilities\SourcePawnIDE\include\stocklib.inc(829) : error 010: invalid function or declaration
H:\Utilities\SourcePawnIDE\include\stocklib.inc(831) : error 001: expected token: ";", but found "-integer value-"
H:\Utilities\SourcePawnIDE\include\stocklib.inc(835) : error 021: symbol already defined: "CloseHandle"
H:\Utilities\SourcePawnIDE\include\stocklib.inc(836) : error 010: invalid function or declaration
H:\Utilities\SourcePawnIDE\include\stocklib.inc(838) : error 054: unmatched closing brace ("}")
H:\Utilities\SourcePawnIDE\include\stocklib.inc(838) : error 010: invalid function or declaration
H:\Utilities\SourcePawnIDE\include\stocklib.inc(840) : error 010: invalid function or declaration
H:\Utilities\SourcePawnIDE\include\stocklib.inc(843) : error 021: symbol already defined: "ScaleVector"
H:\Utilities\SourcePawnIDE\include\stocklib.inc(843) : error 010: invalid function or declaration
H:\Utilities\SourcePawnIDE\include\stocklib.inc(845) : error 181: function argument named 'pos' differs from prototype
H:\Utilities\SourcePawnIDE\include\stocklib.inc(845) : error 021: symbol already defined: "AddVectors"
H:\Utilities\SourcePawnIDE\include\stocklib.inc(845) : error 010: invalid function or declaration
H:\Utilities\SourcePawnIDE\include\stocklib.inc(845) : fatal error 189: too many error messages on one line

Compilation aborted.
18 Errors.

Compilation Time: 0.27 sec
EDIT: Reverting my development environment to 1.6.3's includes and compiler, everything works. Typo in the newest Sourcemod release? The devs should look into it.

Last edited by StrikerMan780; 05-01-2015 at 18:36.
StrikerMan780 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-01-2015 , 19:36   Re: Some BS compiling issue, need help!
Reply With Quote #2

You can no longer have variables named "function" or any number of other keywords.

Until you fix that on line 815 or so, you'll get compile errors on 1.7 and newer.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 05-01-2015 , 22:04   Re: Some BS compiling issue, need help!
Reply With Quote #3

Quote:
Originally Posted by Powerlord View Post
You can no longer have variables named "function" or any number of other keywords.

Until you fix that on line 815 or so, you'll get compile errors on 1.7 and newer.
I don't though. There seems to be something broken with the includes.
StrikerMan780 is offline
lingzhidiyu
Senior Member
Join Date: Mar 2014
Old 05-02-2015 , 05:00   Re: Some BS compiling issue, need help!
Reply With Quote #4

H:\Utilities\SourcePawnIDE\include\stocklib.i nc(831) : error 001: expected token: ";", but found "-integer value-"
lingzhidiyu is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 05-02-2015 , 14:10   Re: Some BS compiling issue, need help!
Reply With Quote #5

Ah, ok. Didn't realize it was specifically Stocklib causing it. I fixed the line, whoever made this include didn't really think it through.
StrikerMan780 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 03:14.


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