This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
invalid use of void expression (current CVS versions)
- To: gcc-bugs at gcc dot gnu dot org
- Subject: invalid use of void expression (current CVS versions)
- From: jarausch at igpm dot rwth-aachen dot de
- Date: Fri, 05 May 2000 10:14:52 +0200
- Reply-to: jarausch at igpm dot rwth-aachen dot de
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