[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#102473: marked as done (#include_next does not work correctly in std_cstdio.h (and others))



Your message dated Sun, 12 Aug 2001 23:05:50 +0200
with message-id <15222.61358.21148.784672@gargle.gargle.HOWL>
and subject line close unreproduceable bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 27 Jun 2001 09:47:02 +0000
>From christof@petig-baender.de Wed Jun 27 04:47:02 2001
Return-path: <christof@petig-baender.de>
Received: from mail.mediaways.net [::ffff:193.189.224.113] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 15FBuY-0002aM-00; Wed, 27 Jun 2001 04:47:02 -0500
Received: (qmail 17606 invoked by uid 4221); 27 Jun 2001 09:46:41 -0000
Received: from unknown (HELO gateway.petig-baender.de) (213.20.48.215)
  by smtp-relay.mediaways.net with SMTP; 27 Jun 2001 09:46:41 -0000
Received: from petig-baender.de (christof@puck.petig-baender.de [192.168.234.11])
	by gateway.petig-baender.de (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id LAA15966
	for <submit@bugs.debian.org>; Wed, 27 Jun 2001 11:46:41 +0200
X-Authentication-Warning: gateway.petig-baender.de: Host christof@puck.petig-baender.de [192.168.234.11] claimed to be petig-baender.de
Sender: christof@petig-baender.de
Message-ID: <3B39AB81.D4054BC6@petig-baender.de>
Date: Wed, 27 Jun 2001 11:46:41 +0200
From: Christof Petig <christof@petig-baender.de>
Organization: Adolf Petig GmbH & Co. KG
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.4.4-pre7 ppc)
X-Accept-Language: de-DE, de, en
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: #include_next does not work correctly in std_cstdio.h (and others)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org

Package: libstdc++3-dev
Version: 3.0-2
Platform: ppc

If I compile a program which includes any of the following headers:
cassert, cctype, cerrno, clocale (and others)
I get the following errors:
/usr/include/g++-v3/bits/std_cstring.h:40:25: string.h: No such file or
directory
/usr/include/g++-v3/bits/std_cstdlib.h:41:25: stdlib.h: No such file or
directory

If I apply the following patch (in /usr/include/g++-v3/bits) everything
works again. But this cannot be the correct solution.

Yours
    Christof

---------
--- std_cassert.h~      Sat Jun  9 01:33:14 2001
+++ std_cassert.h       Mon Jun 25 23:31:09 2001
@@ -34,7 +34,7 @@
 // No include guards on this header...

 #pragma GCC system_header
-#include_next <assert.h>
+#include <assert.h>



--- std_cctype.h~       Sat Jun  9 20:53:56 2001
+++ std_cctype.h        Mon Jun 25 23:31:51 2001
@@ -35,7 +35,7 @@
 #define _CPP_CCTYPE 1

 #pragma GCC system_header
-#include_next <ctype.h>
+#include <ctype.h>

 // Get rid of those macros defined in <ctype.h> in lieu of real
functions.
 #undef isalnum
--- std_cerrno.h~       Sat Jun  9 01:33:14 2001
+++ std_cerrno.h        Mon Jun 25 23:33:07 2001
@@ -35,7 +35,7 @@
 #define _CPP_CERRNO 1

 #pragma GCC system_header
-#include_next <errno.h>
+#include <errno.h>

 // Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
 #ifndef errno
--- std_clocale.h~      Sat Jun  9 08:57:15 2001
+++ std_clocale.h       Mon Jun 25 23:33:27 2001
@@ -35,7 +35,7 @@
 #define _CPP_CLOCALE 1

 #pragma GCC system_header
-#include_next <locale.h>
+#include <locale.h>

 // Get rid of those macros defined in <locale.h> in lieu of real
functions.
 #undef setlocale
--- std_cmath.h~        Mon Jun 11 01:41:55 2001
+++ std_cmath.h Mon Jun 25 23:37:03 2001
@@ -37,7 +37,7 @@
 #include <bits/c++config.h>

 #pragma GCC system_header
-#include_next <math.h>
+#include <math.h>

 // Get rid of those macros defined in <math.h> in lieu of real
functions.
 #undef abs
--- std_cstdlib.h~      Mon Jun 11 01:41:55 2001
+++ std_cstdlib.h       Mon Jun 25 23:30:46 2001
@@ -38,7 +38,7 @@
 #include <bits/std_cstddef.h>

 #pragma GCC system_header
-#include_next <stdlib.h>
+#include <stdlib.h>

 // Get rid of those macros defined in <stdlib.h> in lieu of real
functions.
 #undef abort
--- std_cstring.h~      Sat Jun  9 20:53:56 2001
+++ std_cstring.h       Mon Jun 25 23:30:12 2001
@@ -37,7 +37,7 @@
 #include <bits/std_cstddef.h>

 #pragma GCC system_header
-#include_next <string.h>
+#include <string.h>

 // Get rid of those macros defined in <string.h> in lieu of real
functions.
 #undef memcpy
--- std_ctime.h~        Sat Jun  9 20:53:56 2001
+++ std_ctime.h Mon Jun 25 23:32:15 2001
@@ -37,7 +37,7 @@
 #include <bits/std_cstddef.h>

 #pragma GCC system_header
-#include_next <time.h>
+#include <time.h>

 // Get rid of those macros defined in <time.h> in lieu of real
functions.
 #undef clock
--- std_cwchar.h~       Mon Jun 11 07:06:54 2001
+++ std_cwchar.h        Mon Jun 25 23:29:28 2001
@@ -39,7 +39,7 @@

 #if _GLIBCPP_HAVE_WCHAR_H
 #pragma GCC system_header
-#include_next <wchar.h>
+#include <wchar.h>
 #endif

 // Need to do a bit of trickery here with mbstate_t as char_traits
--- std_cwctype.h~      Sat Jun  9 01:33:14 2001
+++ std_cwctype.h       Mon Jun 25 23:32:40 2001
@@ -35,7 +35,7 @@
 #define _CPP_CWCTYPE 1

 #pragma GCC system_header
-#include_next <wctype.h>
+#include <wctype.h>

 // Get rid of those macros defined in <wctype.h> in lieu of real
functions.
 #undef iswalnum



---------------------------------------
Received: (at 102473-done) by bugs.debian.org; 12 Aug 2001 21:10:45 +0000
>From doko@cs.tu-berlin.de Sun Aug 12 16:10:45 2001
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15W2VR-0006fH-00; Sun, 12 Aug 2001 16:10:45 -0500
Received: from bolero.cs.tu-berlin.de (doko@bolero.cs.tu-berlin.de [130.149.19.1])
	by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id XAA12055
	for <102473-done@bugs.debian.org>; Sun, 12 Aug 2001 23:05:50 +0200 (MET DST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.10.2+Sun/8.9.3) id f7CL5o623447;
	Sun, 12 Aug 2001 23:05:50 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15222.61358.21148.784672@gargle.gargle.HOWL>
Date: Sun, 12 Aug 2001 23:05:50 +0200
To: 102473-done@bugs.debian.org
Subject: close unreproduceable bug
X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid
Delivered-To: 102473-done@bugs.debian.org

I cannot reproduce this behaviour. The request for more information on
2001-07-01 remained unanswered.



Reply to: