View Single Post
Old 16 March 2017, 08:41   #3
mbergmann-sh
 
Posts: n/a
Quote:
Originally Posted by alpine9000 View Post
GCC gives us a more descriptive error:

Code:
error: ISO C requires a named argument before ‘...’
So for me the following compiles in gcc:

Code:
static int (*calltrap)(int, ...) = (int (*)(int, ...))0xF0FF60;
Sorry I can't test with vbcc, my install is borked at the moment.
Well big thanks! Since this is part of uae_pragmas.h from e-uae src, I guess I'll have to rewrite that module in order to compile. Should be the samm with vbcc...
 
 
Page generated in 0.07855 seconds with 11 queries