This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/54289] New: setjmp isn't included into std namespace


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54289

             Bug #: 54289
           Summary: setjmp isn't included into std namespace
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dmitriy-hshg@mail.ru


Hello!

longjmp, jmp_buf are included into std namespace, but setjmp isn't! It is
possible:

#include <csetjmp>

...
std::jmp_buf ...
std::longjmp() ...

...

// but
std::setjmp() // => error: Â_setjmp isn't an element/item of ÂstdÂ


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