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] |
Just to follow up on the seg fault. It happens because default constructed error_code's, &system_category returns 0. So any e.category().name() will seg fault since &e.category() == 0. Kind of at a loss as to why. In a contained test case I can't reproduce it (attached the appropriate files). I have a feeling I'm missing something obvious here... Chris
Attachment:
sys.hpp
Description: Text document
Attachment:
sys.cpp
Description: Text document
Attachment:
system3.cpp
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |