Is it possible to define function pointer globally?
I'm getting strange errors when I do that, but defining it in function body works fine.
void (*show) (String msg, int level, Type tip);
in global scope gives me (path broken to multiple lines):
multiple definition of `show'
parse.o:
c:/msys/mingw/bin/../
lib/gcc/mingw32/3.4.2/../../../../
include/c++/3.4.2/bits/stl_algobase.h:(.bss+0x0):
first defined here
Bye