"fails"? There must be some error message that says what in the code is unacceptable to g++ 4.8.2.
Line 16, perhaps?
Yes line 16.
t01.cpp:40:16: error: expected ')' before '*' token
int (__cdecl *Emitter)(char *,PINT);
The ^ should be pointing at the *
Last edited on
is it a MS thingy?
Yes it is an MS thingy and I should have known but the old brain cells are rapidly diminishing :)
I removed the __cdecl and it compiles with g++ on Linux.
Thanks for the nudge.