Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> pro c compiler and POSIX_SOURCE
Hi,
I am using Oracle 7.3.1 .
On some versions of Unix (e.g TRU64). I get strange syntax errors in
header files with the
PRO-C compiler.
E.G
test.h
typedef struct {
pid_t pid;
}
produces the a syntax error on line pid_t pid;
pid_t is defined in a system header file.
What I cannot understand if in test.c
#include <test.h>
#define _POSIX_SOURCE
if I comment out the #define _POSIX_SOURCE line. All syntax errors in header file disappear.
Any ideas,
Pat
Received on Mon Apr 14 2003 - 13:57:52 CDT
![]() |
![]() |