Mail Archives: djgpp-workers/2001/02/07/14:04:41
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 -