public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/31405]  New: [4.3] fixincludes needed for wchar from glibc 2.3.6
@ 2007-03-30 21:16 tbm at cyrius dot com
  2008-01-23 19:25 ` [Bug other/31405] " manu at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: tbm at cyrius dot com @ 2007-03-30 21:16 UTC (permalink / raw)
  To: gcc-bugs

When you link two files that both #include <wchar.h> together you get:

t2.o: In function `wcstoul': /usr/include/wchar.h:540: multiple definition of
`wcstoul'
t1.o:/usr/include/wchar.h:540: first defined here

when you compile with -std=c99.


-- 
           Summary: [4.3] fixincludes needed for wchar from glibc 2.3.6
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31405


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/31405] [4.3] fixincludes needed for wchar from glibc 2.3.6
  2007-03-30 21:16 [Bug other/31405] New: [4.3] fixincludes needed for wchar from glibc 2.3.6 tbm at cyrius dot com
@ 2008-01-23 19:25 ` manu at gcc dot gnu dot org
  2008-01-23 22:36 ` [Bug other/31405] [4.3 Regression] " rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-01-23 19:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from manu at gcc dot gnu dot org  2008-01-23 18:36 -------
Regressions should have a target milestone.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31405


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/31405] [4.3 Regression] fixincludes needed for wchar from glibc 2.3.6
  2007-03-30 21:16 [Bug other/31405] New: [4.3] fixincludes needed for wchar from glibc 2.3.6 tbm at cyrius dot com
  2008-01-23 19:25 ` [Bug other/31405] " manu at gcc dot gnu dot org
@ 2008-01-23 22:36 ` rguenth at gcc dot gnu dot org
  2008-01-24  1:27 ` hp at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-23 22:36 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at axis dot com
           Priority|P3                          |P2
            Summary|[4.3] fixincludes needed for|[4.3 Regression] fixincludes
                   |wchar from glibc 2.3.6      |needed for wchar from glibc
                   |                            |2.3.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31405


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/31405] [4.3 Regression] fixincludes needed for wchar from glibc 2.3.6
  2007-03-30 21:16 [Bug other/31405] New: [4.3] fixincludes needed for wchar from glibc 2.3.6 tbm at cyrius dot com
  2008-01-23 19:25 ` [Bug other/31405] " manu at gcc dot gnu dot org
  2008-01-23 22:36 ` [Bug other/31405] [4.3 Regression] " rguenth at gcc dot gnu dot org
@ 2008-01-24  1:27 ` hp at gcc dot gnu dot org
  2008-01-25 12:10 ` ubizjak at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hp at gcc dot gnu dot org @ 2008-01-24  1:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hp at gcc dot gnu dot org  2008-01-23 23:35 -------
Patch at <http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00528.html> awaiting
approval.


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|hp at axis dot com          |rguenth at gcc dot gnu dot
                   |                            |org, hp at gcc dot gnu dot
                   |                            |org
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31405


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/31405] [4.3 Regression] fixincludes needed for wchar from glibc 2.3.6
  2007-03-30 21:16 [Bug other/31405] New: [4.3] fixincludes needed for wchar from glibc 2.3.6 tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2008-01-24  1:27 ` hp at gcc dot gnu dot org
@ 2008-01-25 12:10 ` ubizjak at gmail dot com
  2008-02-04 15:35 ` hp at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2008-01-25 12:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ubizjak at gmail dot com  2008-01-25 10:46 -------
Confirmed & CC maintainer of fixincludes.


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bkorb at gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-01-25 10:46:24
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31405


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/31405] [4.3 Regression] fixincludes needed for wchar from glibc 2.3.6
  2007-03-30 21:16 [Bug other/31405] New: [4.3] fixincludes needed for wchar from glibc 2.3.6 tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2008-01-25 12:10 ` ubizjak at gmail dot com
@ 2008-02-04 15:35 ` hp at gcc dot gnu dot org
  2008-02-04 15:43 ` hp at gcc dot gnu dot org
  2008-02-07  6:49 ` tbm at cyrius dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hp at gcc dot gnu dot org @ 2008-02-04 15:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hp at gcc dot gnu dot org  2008-02-04 15:34 -------
Subject: Bug 31405

Author: hp
Date: Mon Feb  4 15:33:54 2008
New Revision: 132093

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132093
Log:
        PR other/31405
        * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
        (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
        __extern_inline|__GNU_STDC_INLINE__.
        (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
        <bypass>: Change from __STDC_VERSION__ to
        __extern_inline|__GNU_STDC_INLINE__.
        <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
        appending attribute-gnu_inline.
        <second c_fix_arg>: Remove.
        <test_text>: Remove __extern_inline line.
        * tests/base/features.h: Re-add.
        * tests/base/sys/sysmacros.h: Adjust.
        * fixincl.x: Regenerate.

(Oops: forgot PR-annotation.)

Modified:
    trunk/fixincludes/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31405


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/31405] [4.3 Regression] fixincludes needed for wchar from glibc 2.3.6
  2007-03-30 21:16 [Bug other/31405] New: [4.3] fixincludes needed for wchar from glibc 2.3.6 tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2008-02-04 15:35 ` hp at gcc dot gnu dot org
@ 2008-02-04 15:43 ` hp at gcc dot gnu dot org
  2008-02-07  6:49 ` tbm at cyrius dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hp at gcc dot gnu dot org @ 2008-02-04 15:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hp at gcc dot gnu dot org  2008-02-04 15:42 -------
Could the reporter please verify that the problem is fixed with trunk >= 132093
and if so, close this PR?  Thanks.


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31405


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug other/31405] [4.3 Regression] fixincludes needed for wchar from glibc 2.3.6
  2007-03-30 21:16 [Bug other/31405] New: [4.3] fixincludes needed for wchar from glibc 2.3.6 tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2008-02-04 15:43 ` hp at gcc dot gnu dot org
@ 2008-02-07  6:49 ` tbm at cyrius dot com
  6 siblings, 0 replies; 8+ messages in thread
From: tbm at cyrius dot com @ 2008-02-07  6:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from tbm at cyrius dot com  2008-02-07 06:48 -------
I can confirm that this has been fixed.  Thanks a lot.


-- 

tbm at cyrius dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31405


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-02-07  6:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-30 21:16 [Bug other/31405] New: [4.3] fixincludes needed for wchar from glibc 2.3.6 tbm at cyrius dot com
2008-01-23 19:25 ` [Bug other/31405] " manu at gcc dot gnu dot org
2008-01-23 22:36 ` [Bug other/31405] [4.3 Regression] " rguenth at gcc dot gnu dot org
2008-01-24  1:27 ` hp at gcc dot gnu dot org
2008-01-25 12:10 ` ubizjak at gmail dot com
2008-02-04 15:35 ` hp at gcc dot gnu dot org
2008-02-04 15:43 ` hp at gcc dot gnu dot org
2008-02-07  6:49 ` tbm at cyrius dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).