delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/30/12:04:45

X-Spam-Check-By: sourceware.org
Message-ID: <BAY106-F18F1B67B9091C1CC128756CBA60@phx.gbl>
X-Sender: trouba_1 AT hotmail DOT fr
In-Reply-To: <20070123083203.GD27843@calimero.vinschen.de>
From: "jano trouba" <trouba_1 AT hotmail DOT fr>
To: cygwin AT cygwin DOT com
Subject: sockets pbs..
Date: Tue, 30 Jan 2007 17:04:14 +0000
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


Hello everybody...

I uploaded last (as of yesterday) version of cygwin..

Then I tried compiling some of my libraries...

Here is the result on one dealing with sockets :

cc -Wall  -D_POSIX_SOURCE -D__rtems__ -mno-cygwin -mwindows  -I../include/  
-I/usr/include -c MyBase.c
In file included from /usr/include/sys/socket.h:15,
                 from ../include/CCS.h:29,
                 from MyBase.c:244:
/usr/include/cygwin/socket.h:55: error: parse error before "__uid32_t"
/usr/include/cygwin/socket.h:55: warning: no semicolon at end of struct or 
union
/usr/include/cygwin/socket.h:56: warning: type defaults to `int' in 
declaration of `gid'
/usr/include/cygwin/socket.h:56: warning: data definition has no type or 
storage class


and the first lines of CCS.h are :

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <errno.h>

So did I miss a flag in order to compile, or a bad location, or is it a bug 
??

Jean

_________________________________________________________________
Avec Windows Live OneCare éliminez tous les virus de votre PC ! 
http://www.windowslive.fr/liveonecare/default.asp


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019