[uClibc 0001864]: obstack.h not compatible with modern GCC

bugs at busybox.net bugs at busybox.net
Wed Oct 8 11:13:24 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1864 
====================================================================== 
Reported By:                michael_d
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   1864
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             01-04-2008 03:15 PST
Last Modified:              10-08-2008 04:13 PDT
====================================================================== 
Summary:                    obstack.h not compatible with modern GCC
Description: 
uClibc's obstack.h is apparently derived from an older GNU version which
contains constructs that current versions of GCC will refuse to compile.

Normally, this problem is invisible, because GCC's fixincludes process
will automatically derive a safe version of obstack.h, which GCC will use
in preference to the copy in /usr/include.  However, the bug bit me when I
was crossing over from glibc -- GCC's fixincludes process doesn't seem to
run correctly when crosscompiling.

It's a good idea to fix this in the library.  I'm attaching a patch that
makes exactly the same changes GCC's fixincludes does.
====================================================================== 

---------------------------------------------------------------------- 
 bernhardf - 10-08-08 04:13  
---------------------------------------------------------------------- 
obstack.{c,h} was updated in r23591. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-04-08 03:15  michael_d      New Issue                                    
01-04-08 03:15  michael_d      Status                   new => assigned     
01-04-08 03:15  michael_d      Assigned To               => uClibc          
01-04-08 03:15  michael_d      File Added: uClibc-0.9.29-obstack.diff           
        
10-08-08 04:13  bernhardf      Status                   assigned => closed  
10-08-08 04:13  bernhardf      Note Added: 0013064                          
======================================================================




More information about the uClibc-cvs mailing list