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 From: "Gabriel Soullier" To: "Demmer, Thomas" , Subject: RE: Pb of include files Date: Fri, 28 Jun 2002 12:05:12 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <8D861ADC5B8FD211B4100008C71EA7DA04F70C77@kjsdemucshrexc1.eu.pm.com> Importance: Normal Yes I know, but with gcc I have a bigger problem : tuxedo8.0""\sysinclude" -c service.c In file included from c:/bea/tuxedo8.0/include/userlog.h:16, from service.c:21: c:/bea/tuxedo8.0/include/tmenv.h:72: conflicting types for `uid_t' /usr/include/cygwin/types.h:36: previous declaration of `uid_t' c:/bea/tuxedo8.0/include/tmenv.h:73: conflicting types for `gid_t' /usr/include/cygwin/types.h:37: previous declaration of `gid_t' c:/bea/tuxedo8.0/include/tmenv.h:74: warning: redefinition of `mode_t' /usr/include/sys/types.h:144: warning: `mode_t' previously declared here c:/bea/tuxedo8.0/include/tmenv.h:77: conflicting types for `pid_t' /usr/include/sys/types.h:138: previous declaration of `pid_t' c:/bea/tuxedo8.0/include/tmenv.h:78: warning: redefinition of `caddr_t' /usr/include/sys/types.h:88: warning: `caddr_t' previously declared here make: *** [service.o] Error 1 => Conflicts of types !!!!!!! -----Message d'origine----- De : cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]De la part de Demmer, Thomas Envoyé : vendredi 28 juin 2002 11:24 À : 'Gabriel Soullier'; cygwin AT cygwin DOT com Objet : RE: Pb of include files You are trying to include compiler specific include files with the wrong compiler. Try gcc instead. Ciao Tom > -----Original Message----- > From: Gabriel Soullier [SMTP:gsoullier AT sigoconseil DOT fr] > Sent: Friday, June 28, 2002 11:22 AM > To: cygwin AT cygwin DOT com > Subject: Pb of include files > > > Is anyone can help me and explain me what happenning with inculde fikes ? > Thanks > > > Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86 > Copyright (C) Microsoft Corp 1984-1998. All rights reserved. > > apilock.c > c:\cygwin\usr\include\sys/ipc.h(51) : error C2061: syntax error : > identifier > 'uid_t' > c:\cygwin\usr\include\sys/ipc.h(52) : error C2061: syntax error : > identifier > 'gid' > c:\cygwin\usr\include\sys/ipc.h(52) : error C2059: syntax error : ';' > c:\cygwin\usr\include\sys/ipc.h(53) : error C2061: syntax error : > identifier > 'cuid' > c:\cygwin\usr\include\sys/ipc.h(53) : error C2059: syntax error : ';' > c:\cygwin\usr\include\sys/ipc.h(54) : error C2061: syntax error : > identifier > 'cgid' > c:\cygwin\usr\include\sys/sem.h(78) : error C2079: 'sem_perm' uses > undefined > struct 'ipc_perm' > c:\cygwin\usr\include\sys/sem.h(109) : error C2061: syntax error : > identifier 'pid_t' > c:\cygwin\usr\include\sys/sem.h(111) : error C2054: expected '(' to follow > 'Unsigned' > c:\cygwin\usr\include\sys/sem.h(171) : error C2061: syntax error : > identifier 'ushort' > c:\cygwin\usr\include\sys/sem.h(173) : error C2059: syntax error : '}' > c:\cygwin\usr\include\sys/sem.h(174) : error C2059: syntax error : '}' > > ......................... > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/