From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27836 invoked by alias); 3 Jul 2014 12:37:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 27736 invoked by uid 48); 3 Jul 2014 12:37:22 -0000 From: "nicolas.cavallari at lri dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/58393] Please relax feature check for std::to_string and std::sto* for uClibc Date: Thu, 03 Jul 2014 12:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: nicolas.cavallari at lri dot fr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg00157.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58393 nicolas.cavallari at lri dot fr changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #30800|0 |1 is obsolete| | --- Comment #4 from nicolas.cavallari at lri dot fr --- Created attachment 33060 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33060&action=edit 7 patches for being more specific with feature checks, in mbox format. Following Paolo's comment, i made some other patches a while ago, using more specific feature checks everywhere. The only part where _GLIBCXX_USE_C99 is still needed is when determining whether the time functions allows one or two leap seconds. However, my attemps to run the testsuite were always met with frustration and undeterministic results, so i delayed it and kept working around the problem in my programs. I attach my untested patches here. Maybe i'll fight with the testsuite again, maybe not.