YSI Warnings
#1

Hello, I got a bunch of YSI and warnings how do I fix this ? I recently changed the YSI version to the newest

Код:
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\foreach.inc(33) : warning 216: nested comment
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\foreach.inc(36) : warning 216: nested comment
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(649) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(650) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(651) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(652) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(653) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(654) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(655) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(656) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(657) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(658) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(659) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(660) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(661) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(662) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(663) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(664) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(665) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(666) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(667) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(668) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(669) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(670) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(671) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(672) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(673) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(674) : error 075: input line too long (after substitutions)

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#2

Do not use foreach (standalone) include. Since you are using YSI, include y_iterate instead.

Most tests (if not all) are compiled with community compiler so replace the default one: https://github.com/pawn-lang/compiler/releases
Reply
#3

Quote:
Originally Posted by Calisthenics
Посмотреть сообщение
Do not use foreach (standalone) include. Since you are using YSI, include y_iterate instead.

Most tests (if not all) are compiled with community compiler so replace the default one: https://github.com/pawn-lang/compiler/releases
Still have the same warnings once I disable
Код:
//#include <foreach>
Код:
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(649) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(650) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(651) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(652) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(653) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(654) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(655) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(656) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(657) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(658) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(659) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(660) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(661) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(662) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(663) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(664) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(665) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(666) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(667) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(668) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(669) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(670) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(671) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(672) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(673) : error 075: input line too long (after substitutions)
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\y_scripting.inc(674) : error 075: input line too long (after substitutions)

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
the foreach warnings are gone if I disable the #include But the YSI isn't



PHP код:
//#include <foreach> 
Reply
#4

Quote:
Originally Posted by Calisthenics
Посмотреть сообщение
Do not use foreach (standalone) include. Since you are using YSI, include y_iterate instead.

Most tests (if not all) are compiled with community compiler so replace the default one: https://github.com/pawn-lang/compiler/releases
What you said has nothing to do with the warnings, did you even read it? It has something to do with y_scripting will have a look at this again once i go home
Reply
#5

Quote:
Originally Posted by willbedie
Посмотреть сообщение
What you said has nothing to do with the warnings, did you even read it? It has something to do with y_scripting will have a look at this again once i go home
Did you read the error? Input line too long. The new compiler increases the characters limit per line so it will fix the errors.
Reply
#6

Quote:
Originally Posted by Calisthenics
Посмотреть сообщение
Did you read the error? Input line too long. The new compiler increases the characters limit per line so it will fix the errors.
I have always been using notepad and pawno why should I use another compiler ? :O
Reply
#7

Quote:
Originally Posted by willbedie
Посмотреть сообщение
What you said has nothing to do with the warnings, did you even read it? It has something to do with y_scripting will have a look at this again once i go home
You should read this: https://sampforum.blast.hk/showthread.php?tid=473595

Calisthenics's suggestion to use Zeex's compiler should fix the issue.

Quote:
Originally Posted by SacrificeGaming
Посмотреть сообщение
I have always been using notepad and pawno why should I use another compiler ? :O
Zeex's just replaces the default pawncc AFAIK.
Reply
#8

Quote:
Originally Posted by SacrificeGaming
Посмотреть сообщение
I have always been using notepad and pawno why should I use another compiler ? :O
We are talking about pawncc, the compiler. Not an editor.
Reply
#9

NOT FIXED SEE SECOND PAGE
Reply
#10

Quote:
Originally Posted by ******
Посмотреть сообщение
Care to share how for future reference? y_scripting is extremely old, so my suggestion would be updating.
We waiting for you!

glad to see you where you always should be :P
Reply
#11

I updated my YSI and now getting this error ?

Код:
C:\Users\marlb\Desktop\Hawkins RP\pawno\include\YSI\internal\..\internal\..\internal\y_natives.inc(66) : fatal error 100: cannot read from file: "YSI\internal\y_globaltags"

Compilation aborted.

Pawn compiler 3.10.20150531	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
line 66 in y_natives.inc :

Код:
#include "y_globaltags"
Reply
#12

Anyone ?
Reply
#13

Have you included y_globaltags in your YSI folder?

EDIT:

Just looked that up and someone else had that problem too, that's what Y_Less replied with;

Quote:
Originally Posted by Y_Less
Посмотреть сообщение
Try compile with -Z, YSI 3.1 has never been tested or ported to that compiler.
Thread;
https://sampforum.blast.hk/showthread.php?tid=519009
Reply
#14

Quote:
Originally Posted by willbedie
Посмотреть сообщение
Have you included y_globaltags in your YSI folder?

EDIT:

Just looked that up and someone else had that problem too, that's what Y_Less replied with;



Thread;
https://sampforum.blast.hk/showthread.php?tid=519009
It is located in the right folder and i have already tried the -Z and it didnt work
Reply
#15

Remove anything related with YSI in the include folder and try again. I had written in the past for another user how to install YSI 4: http://forum.sa-mp.com/showpost.php?...45&postcount=5
Reply
#16

Quote:
Originally Posted by Calisthenics
Посмотреть сообщение
Remove anything related with YSI in the include folder and try again. I had written in the past for another user how to install YSI 4: http://forum.sa-mp.com/showpost.php?...45&postcount=5
Done that but it doesn't make the difference.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)