[Compiler] Calling a function from an include
#1

I get errors when trying to use a function in an include, whereas the function is defined in the gamemode.
Code:
include.inc(1276) : error 017: undefined symbol "ReturnName"
I lost my compiler configuration (and reinstalled my OS) and now the code doesn't compile anymore.
Does anyone know how to fix this? I'm pretty sure the code worked before.

P.S. the functions are defined AFTER the includes, and I'm planning to keep it that way.
Reply
#2

Did you define the function with public?
Reply
#3

Quote:
Originally Posted by rappy93
View Post
Did you define the function with public?
Yes, tried public, stock and empty headers
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)