From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: Date: Mon, 4 Aug 1997 21:50:58 +0200 (CEST) From: Christian Czezatke Subject: sys/ipc.h and Hi! I just noticed that it does not seem to be possible to include into a C--File that you want to compile with gcc's "-ansi" option. System is Redhat Linux 4.2, except for the kernel: Kernel is a plain 2.0.30 (Noname) + axp-diffs-2.0.30 (_not_ Jay's "latest and greates" patches.) Here is what you get in that case: --------- snip ------------- In file included from /usr/include/sys/ipc.h:26, from test.c:1: /usr/include/sys/ipc_buf.h:48: parse error before `key_t' /usr/include/sys/ipc_buf.h:48: warning: no semicolon at end of struct or union /usr/include/sys/ipc_buf.h:55: parse error before `}' In file included from test.c:1: /usr/include/sys/ipc.h:31: parse error before `ftok' /usr/include/sys/ipc.h:31: warning: data definition has no type or storage class --------- snip ------------ Just wanted to let you know of the problem... ;-) Christian -------------------------------------------------------------------- | Christian Czezatke, Student of Computer Science at the Vienna | | University Of Technology. | |------------------------------------------------------------------| | email: e9025461@student.tuwien.ac.at | -------------------------------------------------------------------- -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com