[PATCH] libstdc++: ifdef rtti specific function __throw_ios_failure() by __cpp_rtti

2021-02-11 Thread Mirko Vogt
. This was done correctly for the c++98 part and probably just forgotten for c++11. Thanks mirko PS: Shouldn't this have been covered by any tests? >From 46aa7ca34b832695b3f13167034f6aa19f44d074 Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Thu, 11 Feb 2021 23:18:28 + Subject: [

Re: [PATCH] libstdc++: ifdef rtti specific function __throw_ios_failure() by __cpp_rtti

2021-02-12 Thread Mirko Vogt
On 2/12/21 11:30 AM, Jonathan Wakely wrote: This patch is wrong. Indeed, thanks for checking. If you simply disable that function definition for !__cpp_rtti then you'll get linker errors from fstream.tcc when that function is called. /usr/bin/ld: /home/jwakely/src/gcc/build/x86_64-pc-linux-