[omniORB] omniorb and cygwin problem
Lee, Robert C.
RLee@northropgrumman.com
Thu Mar 13 23:30:03 2003
Hi everyone,
I'm trying to port an IRIX omniORB project to windows using cygwin. My
program does a fork/exec. I get the following compiler error, complaining of
<sys/_types.h> in the cygwin distribution:
c:\cygwin\usr\include\sys\_types.h(13) : error C2632: 'long' followed by
'long' is illegal
c:\cygwin\usr\include\sys\_types.h(13) : error C2144: syntax error : missing
';' before type 'long'
c:\cygwin\usr\include\sys\_types.h(13) : error C2501: '__extension__' :
missing storage-class or type specifiers
c:\cygwin\usr\include\sys\_types.h(13) : fatal error C1004: unexpected end
of file found
The top of the _types.h file looks like this:
#ifndef _SYS__TYPES_H
#define _SYS__TYPES_H
typedef long _off_t;
__extension__ typedef long long _off64_t;
This file is untouched from the cygwin installation process, so I don't know
what the problem is? I'm using vc6 set up per OmniORB documentation.
Does anyone know what the problem is here?
Thanks,
Robert Lee