invalid use of void expression (current CVS versions)
jarausch@igpm.rwth-aachen.de
jarausch@igpm.rwth-aachen.de
Fri May 5 01:15:00 GMT 2000
Hi,
unless I miss a lot, a C-compiler should compile
typedef void VOID;
VOID cleanup(int);
int main() {
cleanup(0);
}
But current CVS-version of gcc generate a fatal error
TEST.c: In function `main':
TEST.c:8: invalid use of void expression
This is on IRIX 6.5.
Thanks for looking into it,
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
Institute of Technology, RWTH Aachen
D 52056 Aachen, Germany
More information about the Gcc-bugs
mailing list