delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/07/11:39:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <D52E92C987D7D111993200A0C9A3300A1B0C58@NPMX1>
From: Jon Steinar Jonsson <steinar DOT jonsson AT nordpool DOT com>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: wchar.h problem
Date: Mon, 7 Aug 2000 17:37:23 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.10)

I get compilation errors in wchar.h when compiling a package that builds 
cleanly on GNU/Linux (also compiles ok on Cygwin b20.1 I've been told)
The problem seems to be that size_t is not defined.
Shouldn't wchar.h make sure size_t is defined before using it, the way it 
does with wchar_t?
Adding "#define __need_size_t" to wchar.h seems to solve the problem.

Steinar Jonsson
Steinar DOT Jonsson AT nordpool DOT com
sjonsson AT online DOT no

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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