PDA

View Full Version : [Help]Error foreach


astanalol
28/04/2015, 01:24 AM
Hello :D
What is This Error ?
C:\Documents and Settings\Administrator\Desktop\NVCNR\NVCNR\NVCNR\p awno\include\YSI\y_iterate.inc(203) : fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI."
C:\Documents and Settings\Administrator\Desktop\NVCNR\NVCNR\NVCNR\p awno\include\YSI\y_iterate.inc(203) : fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI."
how To Fix it ?

Antoniohl
28/04/2015, 02:29 AM
Update YSI and foreach, and try..

Pottus
28/04/2015, 03:23 AM
Lets take a look at what happens when this error occurs.

#if defined _inc_foreach
#if !defined _FOREACH_CUR_VERSION
// Foreach exists, but it's an old version - don't try use this
// system or the variables will conflict.
#error "Old foreach.inc files are no longer compatible with YSI."
#endinput
#endif

What it means is you have included the foreach standalone and also y_iterate you should only be including y_iterate.

astanalol
28/04/2015, 11:07 AM
Lets take a look at what happens when this error occurs.

#if defined _inc_foreach
#if !defined _FOREACH_CUR_VERSION
// Foreach exists, but it's an old version - don't try use this
// system or the variables will conflict.
#error "Old foreach.inc files are no longer compatible with YSI."
#endinput
#endif

What it means is you have included the foreach standalone and also y_iterate you should only be including y_iterate.
delete foreach.inc ? or what u mean :D

Jimmy0wns
28/04/2015, 11:20 AM
Find and remove:
#include <foreach>

astanalol
28/04/2015, 11:30 AM
Find and remove:
#include <foreach>

after i delete it still this problems :/
F:\New Folder (2)\ffffffff\pawno\include\YSI\y_iterate.inc(203) : fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI."

astanalol
28/04/2015, 10:30 PM
Help Please!!

astanalol
29/04/2015, 12:44 PM
Bump

fuckingcruse
29/04/2015, 02:29 PM
First thing you cannot bump before 24 hrs , and update your includes

arlindi
29/04/2015, 03:25 PM
http://forum.sa-mp.com/attachment.php?attachmentid=3923&d=1339499118

This Will help you

astanalol
29/04/2015, 03:46 PM
http://forum.sa-mp.com/attachment.php?attachmentid=3923&d=1339499118

This Will help you

after i add it :D
have much Errors :D Lol
should not have all this errors cuz my script right 100%100