public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/5734: 2 extensions (empty push_back() and is_sorted()) are not documented
@ 2002-03-11 14:18 pme
0 siblings, 0 replies; 3+ messages in thread
From: pme @ 2002-03-11 14:18 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, m.duflot, nobody
Synopsis: 2 extensions (empty push_back() and is_sorted()) are not documented
State-Changed-From-To: analyzed->closed
State-Changed-By: pme
State-Changed-When: Mon Mar 11 14:18:14 2002
State-Changed-Why:
vector::push_back is now guarded by _GLIBCPP_DEPRECATED.
is_sorted() was moved from <algorithm> to <ext/algorithm> quite some time ago.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5734
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libstdc++/5734: 2 extensions (empty push_back() and is_sorted()) are not documented
@ 2002-02-26 10:06 bkoz
0 siblings, 0 replies; 3+ messages in thread
From: bkoz @ 2002-02-26 10:06 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, m.duflot, nobody
Synopsis: 2 extensions (empty push_back() and is_sorted()) are not documented
State-Changed-From-To: open->analyzed
State-Changed-By: bkoz
State-Changed-When: Tue Feb 26 09:44:24 2002
State-Changed-Why:
This is correct. A patch to wrap these two functions with
#ifdef _GLIBCPP_DEPRECATED
...
#endif
and put in the comments noted in this thread:
http://gcc.gnu.org/ml/libstdc++/2002-02/msg00299.html
would be accepted.
thanks,
benjamin
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5734
^ permalink raw reply [flat|nested] 3+ messages in thread
* libstdc++/5734: 2 extensions (empty push_back() and is_sorted()) are not documented
@ 2002-02-20 4:44 m.duflot
0 siblings, 0 replies; 3+ messages in thread
From: m.duflot @ 2002-02-20 4:44 UTC (permalink / raw)
To: gcc-gnats
>Number: 5734
>Category: libstdc++
>Synopsis: 2 extensions (empty push_back() and is_sorted()) are not documented
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: accepts-illegal
>Submitter-Id: net
>Arrival-Date: Wed Feb 20 00:46:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Marc Duflot
>Release: 3.0
>Organization:
>Environment:
Suse linux 7.3
>Description:
Two extensions of the standard C++ library are not documented.
There is no way to desactivate them.
This causes troubles when porting code to another compiler using a different library.
These estensions are :
* empty push_back() :
vec.push_back();
where vec is std::vector<whatever> is accepted but illegal.
* is_sorted() in <algorithm> is non-standard.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-03-11 22:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-11 14:18 libstdc++/5734: 2 extensions (empty push_back() and is_sorted()) are not documented pme
-- strict thread matches above, loose matches on Subject: below --
2002-02-26 10:06 bkoz
2002-02-20 4:44 m.duflot
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).