Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <03AD0BE3A983D311A26400508B6BFB10039B5C60@XCGCA043> From: "Lee, Robert C." To: "'cygwin AT cygwin DOT com'" Subject: fork/exec help Date: Thu, 13 Mar 2003 18:08:48 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Hello, I'm trying to compile a simple fork/exec program in vc6 using cygwin but I can't get past the vc compiler complaining about an include file: main.cpp 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 Error executing cl.exe. Here's the code: #include #include #include int main (int argc, char** argv) { cout <<"forking...."<