This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Ok, many thanks to everyone for the explanations. I'm going to commit to mainline and 4_3-branch the below, tested x86_64-linux. Paolo. /////////////
--- Begin Message ---
- From: "Doug Gregor" <doug dot gregor at gmail dot com>
- To: "Roberto Bagnara" <bagnara at cs dot unipr dot it>
- Cc: "Stefano Soffia" <soffia at cs dot unipr dot it>, "Paolo Carlini" <paolo dot carlini at oracle dot com>, libstdc++ at gcc dot gnu dot org, "Enea Zaffanella" <zaffanella at cs dot unipr dot it>
- Date: Sat, 10 May 2008 07:49:52 -0600
- Subject: Re: debug/vector anomalous behaviour
- References: <Pine.LNX.4.63.0805101033570.6100@spartacus.cs.unipr.it> <4825771F.7020407@oracle.com> <Pine.LNX.4.63.0805101507150.14357@spartacus.cs.unipr.it> <24b520d20805100639r9253fd4pd8449347ce3fbf0e@mail.gmail.com> <4825A75E.4050302@cs.unipr.it>
On Sat, May 10, 2008 at 7:47 AM, Roberto Bagnara <bagnara@cs.unipr.it> wrote: > So > > 365 #ifdef _GLIBCXX_DEBUG_PEDANTIC > 366 return __elements > this->capacity(); > 367 #else > 368 return __elements > _M_guaranteed_capacity; > 369 #endif > > should become > > 365 #ifndef _GLIBCXX_DEBUG_PEDANTIC > 366 return __elements > this->capacity(); > 367 #else > 368 return __elements > _M_guaranteed_capacity; > 369 #endif > > right? Yes! Thank you. - Doug
--- End Message ---
Attachment:
CL_dmrr
Description: Binary data
Attachment:
patch_dmrr
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |