O
Omar.Khalid79
Hi Guys,
Maybe this is silly thing to ask but I have a static function declared
static void Foo(int a);
defined in Foo.cpp
and a member method which calls Foo
extern void foo(int a);
void A::Test
{
int a = 0;
foo(a);
}
I get linkage errors - 'un-resolved external symbol'. When I change
Foo to non-static, it works. Any ideas?
Maybe this is silly thing to ask but I have a static function declared
static void Foo(int a);
defined in Foo.cpp
and a member method which calls Foo
extern void foo(int a);
void A::Test
{
int a = 0;
foo(a);
}
I get linkage errors - 'un-resolved external symbol'. When I change
Foo to non-static, it works. Any ideas?