This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [v3] c++0x <system_error> CD updates


On Wed, Oct 15, 2008 at 12:07 PM, Paolo Carlini
<paolo.carlini@oracle.com> wrote:
> Chris Fairles wrote:
>> Going to give it a whirl.
>>
> Agreed. Let's do something that makes sense, for now. I got a message
> from Martin, and frankly I have no idea where are we going with this
> issue, at the moment. Certainly the issue is real.
>
> Paolo.
>

Updated patch and changelog. Regtested x86_64 linux (with and without -Wall)

One thing I'm not clear on is why error_code's default ctor uses
system_category while error_condition uses generic_category. I think
if the integral value maps to an errc, then you use generic_category
and since 0 isn't, the error_code default ctor uses system_category
but I have no idea why error_condition's doesn't.

Chris

Attachment: Changelog_system_error.txt
Description: Text document

Attachment: system_error.patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]