#define seems not to work
#1

Hello,
I have had this issue :
file 1:
Code:
#define WEAPON_UNKNOWN 55
file 2:
Code:
[Using WEAPON_UNKNOWN]
file 3 includes both files and I get this error
Code:
../include/file2.pwn(282) : error 017: undefined symbol "WEAPON_UNKNOWN"
File 1 is actually weapon-config.inc, and i'm trying to use the constant WEAPON_UNKNOWN in another script that is included AFTER weapon-config.inc
But normally this is supposed to work, I had some instance of this happening with functions too.
This is very annoying.

Thank you,
Yanick
Reply


Messages In This Thread
#define seems not to work - by rt-2 - 31.03.2017, 16:20
Re: #define seems not to work - by AndreiWow - 31.03.2017, 19:15
Re: #define seems not to work - by rt-2 - 31.03.2017, 19:34
Re: #define seems not to work - by AndreiWow - 31.03.2017, 20:02

Forum Jump:


Users browsing this thread: 4 Guest(s)