public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/5506: Include of <valarray> fails on FreeBSD 3.4 due to use of _T identifier
@ 2002-01-27  7:45 paolo
  0 siblings, 0 replies; 2+ messages in thread
From: paolo @ 2002-01-27  7:45 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gregod, nobody, paolo

Synopsis: Include of <valarray> fails on FreeBSD 3.4 due to use of _T identifier

Responsible-Changed-From-To: unassigned->paolo
Responsible-Changed-By: paolo
Responsible-Changed-When: Sun Jan 27 07:45:45 2002
Responsible-Changed-Why:
    Analyzed.
State-Changed-From-To: open->closed
State-Changed-By: paolo
State-Changed-When: Sun Jan 27 07:45:45 2002
State-Changed-Why:
    This is fixed both in 3.0.3 and in current 3.0.4 and 3.1
    snapshots (_T -> _Tp); libstdc++-v2 is not maintained
    anymore.
    
    Thanks for your report,
    Paolo.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5506


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

* libstdc++/5506: Include of <valarray> fails on FreeBSD 3.4 due to use of _T identifier
@ 2002-01-27  6:46 gregod
  0 siblings, 0 replies; 2+ messages in thread
From: gregod @ 2002-01-27  6:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5506
>Category:       libstdc++
>Synopsis:       Include of <valarray> fails on FreeBSD 3.4 due to use of _T identifier
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 27 06:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Doug Gregor
>Release:        gcc-2.95.x (also verified on 2.95 branch of CVS)
>Organization:
>Environment:
FreeBSD 3.4
>Description:
FreeBSD 3.4's <ctype.h> defines a macro _T. Then when _T is used as a template parameter (in include/g++-3/std/mask_array.h and /include/g++-3/std/slice_array.h), it is expanded to an implementation-defined constant and bad things happen.
>How-To-Repeat:
#include <valarray>
>Fix:
sed s/_T/T/g on slice_array.h and mask_array.h
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-01-27 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-27  7:45 libstdc++/5506: Include of <valarray> fails on FreeBSD 3.4 due to use of _T identifier paolo
  -- strict thread matches above, loose matches on Subject: below --
2002-01-27  6:46 gregod

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).