delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/03/12/08:02:23

From: Andris Pavenis <pavenis AT latnet DOT lv>
To: gcc-patches AT gcc DOT gnu DOT org
Subject: Small DJGPP related patch for libstdc++-v3
Date: Mon, 12 Mar 2001 15:01:33 +0200
X-Mailer: KMail [version 1.2]
Cc: djgpp-workers AT delorie DOT com
MIME-Version: 1.0
Message-Id: <01031215013300.26095@hal>
Reply-To: djgpp-workers AT delorie DOT com

When builing libstdc++-v3/src/locale.cc some DJGPP related internal variables are incorrectly
assumed to be in std:: namespace.  This patch should fix that: 

Andris

--- gcc/libstdc++-v3/config/os/djgpp/bits/ctype_noninline.h~2	Tue Mar  6 01:03:34 2001
+++ gcc/libstdc++-v3/config/os/djgpp/bits/ctype_noninline.h	Mon Mar 12 14:40:16 2001
@@ -34,10 +34,12 @@
 // Information as gleaned from DJGPP <ctype.h>
 
 // DJGPP specific code
+extern "C" {
 extern unsigned short __dj_type_cflags[];
 extern unsigned char __dj_ctype_toupper[];
 extern unsigned char __dj_ctype_tolower[];
-  
+}  
+
   ctype<char>::ctype(const mask* __table = 0, bool __del = false, 
 	size_t __refs = 0) 
     : __ctype_abstract_base<char>(__refs), 

- Raw text -


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