delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/10/10:15:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 10 Dec 2002 18:14:22 +0300
From: egor duda <deo AT logos-m DOT ru>
Reply-To: egor duda <cygwin AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <183266206.20021210181422@logos-m.ru>
To: nbecker AT hns DOT com ((Neal D. Becker))
CC: cygwin AT cygwin DOT com
Subject: Re: stdint.h missing
In-Reply-To: <x88hedm6ihj.fsf@rpppc1.md.hns.com>
References: <x88hedm6ihj DOT fsf AT rpppc1 DOT md DOT hns DOT com>
MIME-Version: 1.0

Hi!

Tuesday, 10 December, 2002 Neal D. Becker nbecker AT hns DOT com wrote:

NDB> It seems that /usr/include/stdint.h is missing.  I am using:

Welcome to the world of portable programming.

Single Unix Specification version 2 -- a standard cygwin is trying to
comply with -- doesn't include such file. Newer versions of standard
do include this file, but a lot of systems (a quick check reveals
FreeBSD 4.7, along with cygwin) doesn't provide this file yet.

So if you want to make your program portable across wide range of
platforms, you shouldn't rely on recent versions of standards because
it takes time for system implementors to catch up. Instead, you should
check in configure script if this file exists, and if not, provide
your own declaration for uint8_t, and other types and constants your
program needs.

Additionally, you may provide a patch to add this file to cygwin, and
if done properly, it will be gratefully accepted.

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


--
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/

- Raw text -


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