delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/02/07/14:04:41

Message-ID: <002701c09131$61f2c8e0$9c11893e@oemcomputer>
From: "Stephen Silver" <djgpp AT argentum DOT freeserve DOT co DOT uk>
To: "DJGPP Workers" <djgpp-workers AT delorie DOT com>
Subject: wctype.h and STLport
Date: Wed, 7 Feb 2001 18:11:22 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp-workers AT delorie DOT com

I'm trying out STLport with DJGPP, and I've found that the
<cwctype> header causes errors.  It turns out that this is
because DJGPP doesn't declare all the functions that are
supposed to be declared in wctype.h.  Is there any objection
to declaring these functions, even though DJGPP doesn't yet
implement them?  I've included a patch for this below.

Stephen


*** include/wctype.h.old Tue Dec  5 14:05:54 2000
--- include/wctype.h Wed Feb  7 18:04:48 2001
***************
*** 31,34 ****
--- 31,53 ----
  typedef const unsigned char *wctrans_t;

+ /* Functions not yet implemented */
+ int iswalnum(wint_t);
+ int iswalpha(wint_t);
+ int iswcntrl(wint_t);
+ int iswctype(wint_t, wctype_t);
+ int iswdigit(wint_t);
+ int iswgraph(wint_t);
+ int iswlower(wint_t);
+ int iswprint(wint_t);
+ int iswpunct(wint_t);
+ int iswspace(wint_t);
+ int iswupper(wint_t);
+ int iswxdigit(wint_t);
+ wint_t towctrans(wint_t, wctrans_t);
+ wint_t towlower(wint_t);
+ wint_t towupper(wint_t);
+ wctrans_t wctrans(const char*);
+ wctype_t wctype(const char*);
+
  #ifndef __STRICT_ANSI__

- Raw text -


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