[Bug libstdc++/54354] TODO extended iomanip manipulators std::get_time and std::put_time (C++11, section 27.7.5)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54354 Daniel Morilha changed: What|Removed |Added CC||dmorilha at gmail dot com --- Comment #3 from Daniel Morilha --- any update on that? is there any workaround? I am trying to parse from ISO 8601 date/time format to C++11 time_points and relied on std::get_time to do the parsing work. Any ideas on how to accomplish that by other means? Thanks
[Bug libstdc++/54354] TODO extended iomanip manipulators std::get_time and std::put_time (C++11, section 27.7.5)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54354 --- Comment #5 from Daniel Morilha --- I just realized I can use operating system functionality to achieve the same goal. Please ignore my question and thanks for the quick follow up. Looking forward to gcc 4.9.0
[Bug libstdc++/68058] New: _GLIBCXX_BEGIN_NAMESPACE_VERSION breaks regex
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68058 Bug ID: 68058 Summary: _GLIBCXX_BEGIN_NAMESPACE_VERSION breaks regex Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dmorilha at gmail dot com Target Milestone: --- when compiling libstdc++ with --enable-symvers=gnu-versioned-namespace std::regex complaining about private data members trying to be accessed outside the class: 22:55:46 /home/y/include/c++/4.9.2/bits/regex.h:796:30: error: ‘std::__7::basic_regex::_AutomatonPtr std::__7::basic_regex::_M_automaton’ is protected 22:55:46_AutomatonPtr _M_automaton; I believe the bug is related with the __detail namespace[1] and friend classes[2] as it lacks the NAMESPACE_VERSION expansion. This happens in other lines and I believe it extends to hashmap as well. Turning data members public "fixes" the compilation problem. [1]: https://github.com/gcc-mirror/gcc/blob/e0f174323b4297f46d9109201666da42aaa55fc8/libstdc%2B%2B-v3/include/bits/regex.h#L46 [2]: https://github.com/gcc-mirror/gcc/blob/e0f174323b4297f46d9109201666da42aaa55fc8/libstdc%2B%2B-v3/include/bits/regex.h#L772
[Bug libstdc++/68058] _GLIBCXX_BEGIN_NAMESPACE_VERSION breaks regex
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68058 --- Comment #1 from Daniel Morilha --- Created attachment 36564 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36564&action=edit regex patch
[Bug libstdc++/68323] New: chrono reference to ‘literals’ namespace is ambiguous when using gnu-versioned-namespace
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68323 Bug ID: 68323 Summary: chrono reference to ‘literals’ namespace is ambiguous when using gnu-versioned-namespace Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: dmorilha at gmail dot com Target Milestone: --- /home/y/lib/gcc/x86_64-redhat-linux/5.2.0/include/c++/chrono:873:19: error: reference to ‘literals’ is ambiguous using namespace literals::chrono_literals; ^ /home/y/lib/gcc/x86_64-redhat-linux/5.2.0/include/c++/chrono:788:3: note: candidates are: namespace std::literals { } { ^ In file included from /home/y/lib/gcc/x86_64-redhat-linux/5.2.0/include/c++/string:52:0, from /home/y/lib/gcc/x86_64-redhat-linux/5.2.0/include/c++/random:40, from /home/y/lib/gcc/x86_64-redhat-linux/5.2.0/include/c++/bits/stl_algo.h:66, from /home/y/lib/gcc/x86_64-redhat-linux/5.2.0/include/c++/algorithm:62, from logical.hpp:4, from logical.cpp:1: /home/y/lib/gcc/x86_64-redhat-linux/5.2.0/include/c++/bits/basic_string.h:5547:3: note: namespace std::__7::literals { } { ^ In file included from logical.hpp:5:0, from logical.cpp:1: /home/y/lib/gcc/x86_64-redhat-linux/5.2.0/include/c++/chrono:873:29: error: ‘chrono_literals’ is not a namespace-name using namespace literals::chrono_literals; ^ /home/y/lib/gcc/x86_64-redhat-linux/5.2.0/include/c++/chrono:873:44: error: expected namespace-name before ‘;’ token using namespace literals::chrono_literals; ^ make[1]: *** [rhel.6.4.M64.gcov/logical.o] Error 1 make[1]: Leaving directory `/home/dmorilha/src/ats-galileo/src' make: *** [gcov] Error 2