[PR38000] regression concerning #include_next

Bug #355408 reported by Cruncher
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc
Fix Released
High
gcc-4.3 (Ubuntu)
Fix Released
Undecided
Unassigned
Intrepid
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: libstdc++6-4.3-dev

Compiling this C++ example with the Ubuntu 8.10 default gcc (which is 4.3.2), fails:
$ cat bla.cpp
#include <cstddef>
$ gcc bla.cpp -o bla
In file included from bla.cpp:1:
/usr/bin/../lib/gcc/../../include/c++/4.3/cstddef:48:25: error: stddef.h: No such file or directory
In file included from bla.cpp:1:
/usr/bin/../lib/gcc/../../include/c++/4.3/cstddef:55: error: ‘::ptrdiff_t’ has not been declared
/usr/bin/../lib/gcc/../../include/c++/4.3/cstddef:56: error: ‘::size_t’ has not been declared

Several other C++ headers are affected. According to GCC bug 38000 this is a regression in 4.3.2, which has been fixed in 4.4.0 and backported to 4.3.3. Could the fix please be backported to Intrepid?

GCC bug 38000: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38000
The associated commit, showing the affected headers: http://gcc.gnu.org/viewcvs?view=rev&revision=143194

Matthias Klose (doko)
summary: - regression concerning #include_next
+ [PR38000] regression concerning #include_next
Changed in gcc-4.3 (Ubuntu):
status: New → Fix Released
Changed in gcc:
status: Unknown → Fix Released
pgman (pgman)
Changed in gcc-4.3 (Ubuntu Intrepid):
status: New → Fix Committed
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Intrepid Ibex reached end-of-life on 30 April 2010 so I am closing the
report. The bug has been fixed in newer releases of Ubuntu.

Changed in gcc-4.3 (Ubuntu Intrepid):
status: Fix Committed → Invalid
Changed in gcc:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.