VBCC: complain about static int (*calltrap)(...) = (int (*)(...))0xF0FF60;
HELP appreciated! What's wrong with this declaration:
Code:
static int (*calltrap)(...) = (int (*)(...))0xF0FF60; How do I have to rewrite this statement in order to get vbcc to come clear with it? Thanks in advance, Michael |
Quote:
Code:
error: ISO C requires a named argument before ‘...’ Code:
static int (*calltrap)(int, ...) = (int (*)(int, ...))0xF0FF60; |
Quote:
|
A function with just one varargs argument makes not much sense in ANSI/ISO-C. The va_arg() macro requires the name of the last argument before the '...' to work.
|
All times are GMT +2. The time now is 04:42. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.