Foreach
#1

I'm having some problems compiling a new.pwn.

Quote:

foreach.inc(193) : error 017: undefined symbol "_FOREACH_CUR_VERSION"
warning 203: symbol is never used: "USE@YSI_Data@y_iterate"

Includes:

Quote:

#include <a_samp>
#include <a_mysql>
#include <sscanf2>
#include <streamer>
#include <colors>
#include <izcmd>
#include <foreach>

What's wrong?
Reply
#2

Get the Kar's version of foreach.Try it and tell me

https://sampforum.blast.hk/showthread.php?tid=570868
Reply
#3

It's what i'm using...the Kar's version.
Reply
#4

Maybe try #define _FOREACH_NO_TEST before including <foreach>? idk if that will work xd
Reply
#5

It works.
Reply
#6

Quote:
Originally Posted by ******
Посмотреть сообщение
The warning was:

"USE@YSI_Data@y_iterate"

Meaning you should use:

YSI_Data\y_iterate

Not whatever years old version you have there.
The includes i'm using are this:

https://github.com/pawn-lang/YSI-Includes/tree/5.x

Are those recent enough?

I'm not using any "years old" version...
Reply
#7

replace #include <foreach> by #include <YSI\y_iterate> - you need the new version of YSI
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)