From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10338 invoked by alias); 19 Feb 2012 01:57:57 -0000 Received: (qmail 9762 invoked by uid 22791); 19 Feb 2012 01:57:54 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_CX,TW_GC,TW_IB X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 19 Feb 2012 01:57:35 +0000 From: "DeusExSophismata at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52308] New: -pedantic -ffast-math fails to compile with Date: Sun, 19 Feb 2012 02:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: DeusExSophismata at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 X-SW-Source: 2012-02/txt/msg01869.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52308 Bug #: 52308 Summary: -pedantic -ffast-math fails to compile with Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: DeusExSophismata@gmail.com [david@david-desktop ~]$ g++ -v Using built-in specs. COLLECT_GCC=3Dg++ COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-redhat-linux/4.6.2/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-bugurl=3Dhttp://bugzilla.redhat.com/bugz= illa --enable-bootstrap --enable-shared --enable-threads=3Dposix --enable-checking=3Drelease --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=3Dc,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-pl= ugin --enable-java-awt=3Dgtk --disable-dssi --with-java-home=3D/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=3D/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=3Dgeneric --with-arch_32=3Di686 --build=3Dx86_64-redhat-linux Thread model: posix gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC)=20 The following program fails to compile if given the flags -ffast-math -pedantic. #include int main () { return 0; } [david@david-desktop ~]$ g++ test.cpp -pedantic -ffast-math In file included from /usr/include/math.h:423:0, from /usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../include/c++/4.6.2/cmath:= 46, from test.cpp:1: /usr/include/bits/math-finite.h:25:53: error: declaration of =E2=80=98double acos(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:55:1: error: from previous declaration =E2=80= =98double acos(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:26:53: error: declaration of =E2=80=98float acosf(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:55:1: error: from previous declaration =E2=80= =98float acosf(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:28:65: error: declaration of =E2=80=98long = double acosl(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:55:1: error: from previous declaration =E2=80= =98long double acosl(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:33:55: error: declaration of =E2=80=98double acosh(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:89:1: error: from previous declaration =E2=80= =98double acosh(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:34:55: error: declaration of =E2=80=98float acoshf(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:89:1: error: from previous declaration =E2=80= =98float acoshf(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:36:67: error: declaration of =E2=80=98long = double acoshl(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:89:1: error: from previous declaration =E2=80= =98long double acoshl(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:41:53: error: declaration of =E2=80=98double asin(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:57:1: error: from previous declaration =E2=80= =98double asin(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:42:53: error: declaration of =E2=80=98float asinf(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:57:1: error: from previous declaration =E2=80= =98float asinf(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:44:65: error: declaration of =E2=80=98long = double asinl(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:57:1: error: from previous declaration =E2=80= =98long double asinl(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:48:63: error: declaration of =E2=80=98double atan2(double, double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:61:1: error: from previous declaration =E2=80= =98double atan2(double, double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:49:62: error: declaration of =E2=80=98float atan2f(float, float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:61:1: error: from previous declaration =E2=80= =98float atan2f(float, float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:51:80: error: declaration of =E2=80=98long = double atan2l(long double, long double)=E2=80=99 has a different exception specifi= er /usr/include/bits/mathcalls.h:61:1: error: from previous declaration =E2=80= =98long double atan2l(long double, long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:56:55: error: declaration of =E2=80=98double atanh(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:93:1: error: from previous declaration =E2=80= =98double atanh(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:57:55: error: declaration of =E2=80=98float atanhf(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:93:1: error: from previous declaration =E2=80= =98float atanhf(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:59:67: error: declaration of =E2=80=98long = double atanhl(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:93:1: error: from previous declaration =E2=80= =98long double atanhl(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:64:53: error: declaration of =E2=80=98double cosh(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:73:1: error: from previous declaration =E2=80= =98double cosh(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:65:53: error: declaration of =E2=80=98float coshf(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:73:1: error: from previous declaration =E2=80= =98float coshf(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:67:65: error: declaration of =E2=80=98long = double coshl(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:73:1: error: from previous declaration =E2=80= =98long double coshl(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:71:51: error: declaration of =E2=80=98double exp(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:101:1: error: from previous declaration =E2= =80=98double exp(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:72:51: error: declaration of =E2=80=98float expf(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:101:1: error: from previous declaration =E2= =80=98float expf(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:74:63: error: declaration of =E2=80=98long = double expl(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:101:1: error: from previous declaration =E2= =80=98long double expl(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:79:55: error: declaration of =E2=80=98double exp10(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:122:1: error: from previous declaration =E2= =80=98double exp10(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:80:55: error: declaration of =E2=80=98float exp10f(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:122:1: error: from previous declaration =E2= =80=98float exp10f(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:82:67: error: declaration of =E2=80=98long = double exp10l(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:122:1: error: from previous declaration =E2= =80=98long double exp10l(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:86:55: error: declaration of =E2=80=98double pow10(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:124:1: error: from previous declaration =E2= =80=98double pow10(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:87:55: error: declaration of =E2=80=98float pow10f(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:124:1: error: from previous declaration =E2= =80=98float pow10f(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:89:67: error: declaration of =E2=80=98long = double pow10l(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:124:1: error: from previous declaration =E2= =80=98long double pow10l(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:95:53: error: declaration of =E2=80=98double exp2(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:143:1: error: from previous declaration =E2= =80=98double exp2(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:96:53: error: declaration of =E2=80=98float exp2f(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:143:1: error: from previous declaration =E2= =80=98float exp2f(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:98:65: error: declaration of =E2=80=98long = double exp2l(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:143:1: error: from previous declaration =E2= =80=98long double exp2l(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:103:61: error: declaration of =E2=80=98doub= le fmod(double, double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:189:1: error: from previous declaration =E2= =80=98double fmod(double, double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:104:60: error: declaration of =E2=80=98float fmodf(float, float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:189:1: error: from previous declaration =E2= =80=98float fmodf(float, float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:106:78: error: declaration of =E2=80=98long= double fmodl(long double, long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:189:1: error: from previous declaration =E2= =80=98long double fmodl(long double, long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:111:63: error: declaration of =E2=80=98doub= le hypot(double, double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:164:1: error: from previous declaration =E2= =80=98double hypot(double, double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:112:62: error: declaration of =E2=80=98float hypotf(float, float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:164:1: error: from previous declaration =E2= =80=98float hypotf(float, float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:114:80: error: declaration of =E2=80=98long= double hypotl(long double, long double)=E2=80=99 has a different exception specifi= er /usr/include/bits/mathcalls.h:164:1: error: from previous declaration =E2= =80=98long double hypotl(long double, long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:120:49: error: declaration of =E2=80=98doub= le j0(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:239:1: error: from previous declaration =E2= =80=98double j0(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:121:49: error: declaration of =E2=80=98float j0f(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:239:1: error: from previous declaration =E2= =80=98float j0f(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:123:61: error: declaration of =E2=80=98long= double j0l(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:239:1: error: from previous declaration =E2= =80=98long double j0l(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:127:49: error: declaration of =E2=80=98doub= le y0(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:242:1: error: from previous declaration =E2= =80=98double y0(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:128:49: error: declaration of =E2=80=98float y0f(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:242:1: error: from previous declaration =E2= =80=98float y0f(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:130:61: error: declaration of =E2=80=98long= double y0l(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:242:1: error: from previous declaration =E2= =80=98long double y0l(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:134:49: error: declaration of =E2=80=98doub= le j1(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:240:1: error: from previous declaration =E2= =80=98double j1(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:135:49: error: declaration of =E2=80=98float j1f(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:240:1: error: from previous declaration =E2= =80=98float j1f(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:137:61: error: declaration of =E2=80=98long= double j1l(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:240:1: error: from previous declaration =E2= =80=98long double j1l(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:141:49: error: declaration of =E2=80=98doub= le y1(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:243:1: error: from previous declaration =E2= =80=98double y1(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:142:49: error: declaration of =E2=80=98float y1f(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:243:1: error: from previous declaration =E2= =80=98float y1f(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:144:61: error: declaration of =E2=80=98long= double y1l(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:243:1: error: from previous declaration =E2= =80=98long double y1l(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:148:54: error: declaration of =E2=80=98doub= le jn(int, double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:241:1: error: from previous declaration =E2= =80=98double jn(int, double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:149:54: error: declaration of =E2=80=98floa= t jnf(int, float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:241:1: error: from previous declaration =E2= =80=98float jnf(int, float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:151:66: error: declaration of =E2=80=98long= double jnl(int, long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:241:1: error: from previous declaration =E2= =80=98long double jnl(int, long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:155:54: error: declaration of =E2=80=98doub= le yn(int, double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:244:1: error: from previous declaration =E2= =80=98double yn(int, double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:156:54: error: declaration of =E2=80=98floa= t ynf(int, float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:244:1: error: from previous declaration =E2= =80=98float ynf(int, float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:158:66: error: declaration of =E2=80=98long= double ynl(int, long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:244:1: error: from previous declaration =E2= =80=98long double ynl(int, long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:164:68: error: declaration of =E2=80=98doub= le lgamma_r(double, int*)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:273:1: error: from previous declaration =E2= =80=98double lgamma_r(double, int*) throw ()=E2=80=99 /usr/include/bits/math-finite.h:165:68: error: declaration of =E2=80=98float lgammaf_r(float, int*)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:273:1: error: from previous declaration =E2= =80=98float lgammaf_r(float, int*) throw ()=E2=80=99 /usr/include/bits/math-finite.h:167:80: error: declaration of =E2=80=98long= double lgammal_r(long double, int*)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:273:1: error: from previous declaration =E2= =80=98long double lgammal_r(long double, int*) throw ()=E2=80=99 /usr/include/bits/math-finite.h: In function =E2=80=98double lgamma(double)= =E2=80=99: /usr/include/bits/math-finite.h:173:49: error: declaration of =E2=80=98doub= le lgamma(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:253:1: error: from previous declaration =E2= =80=98double lgamma(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:182:48: error: declaration of =E2=80=98float lgammaf(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:253:1: error: from previous declaration =E2= =80=98float lgammaf(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:192:60: error: declaration of =E2=80=98long= double lgammal(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:253:1: error: from previous declaration =E2= =80=98long double lgammal(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:206:48: error: declaration of =E2=80=98doub= le gamma(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:266:1: error: from previous declaration =E2= =80=98double gamma(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:215:47: error: declaration of =E2=80=98float gammaf(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:266:1: error: from previous declaration =E2= =80=98float gammaf(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:225:59: error: declaration of =E2=80=98long= double gammal(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:266:1: error: from previous declaration =E2= =80=98long double gammal(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h: At global scope: /usr/include/bits/math-finite.h:238:51: error: declaration of =E2=80=98doub= le log(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:110:1: error: from previous declaration =E2= =80=98double log(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:239:51: error: declaration of =E2=80=98float logf(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:110:1: error: from previous declaration =E2= =80=98float logf(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:241:63: error: declaration of =E2=80=98long= double logl(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:110:1: error: from previous declaration =E2= =80=98long double logl(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:245:55: error: declaration of =E2=80=98doub= le log10(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:113:1: error: from previous declaration =E2= =80=98double log10(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:246:55: error: declaration of =E2=80=98float log10f(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:113:1: error: from previous declaration =E2= =80=98float log10f(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:248:67: error: declaration of =E2=80=98long= double log10l(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:113:1: error: from previous declaration =E2= =80=98long double log10l(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:253:53: error: declaration of =E2=80=98doub= le log2(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:146:1: error: from previous declaration =E2= =80=98double log2(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:254:53: error: declaration of =E2=80=98float log2f(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:146:1: error: from previous declaration =E2= =80=98float log2f(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:256:65: error: declaration of =E2=80=98long= double log2l(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:146:1: error: from previous declaration =E2= =80=98long double log2l(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:261:59: error: declaration of =E2=80=98doub= le pow(double, double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:155:1: error: from previous declaration =E2= =80=98double pow(double, double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:262:58: error: declaration of =E2=80=98float powf(float, float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:155:1: error: from previous declaration =E2= =80=98float powf(float, float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:264:76: error: declaration of =E2=80=98long= double powl(long double, long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:155:1: error: from previous declaration =E2= =80=98long double powl(long double, long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:268:71: error: declaration of =E2=80=98doub= le remainder(double, double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:290:1: error: from previous declaration =E2= =80=98double remainder(double, double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:269:70: error: declaration of =E2=80=98float remainderf(float, float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:290:1: error: from previous declaration =E2= =80=98float remainderf(float, float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:271:88: error: declaration of =E2=80=98long= double remainderl(long double, long double)=E2=80=99 has a different exception spe= cifier /usr/include/bits/mathcalls.h:290:1: error: from previous declaration =E2= =80=98long double remainderl(long double, long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:276:63: error: declaration of =E2=80=98doub= le scalb(double, double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:365:1: error: from previous declaration =E2= =80=98double scalb(double, double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:277:62: error: declaration of =E2=80=98float scalbf(float, float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:365:1: error: from previous declaration =E2= =80=98float scalbf(float, float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:279:80: error: declaration of =E2=80=98long= double scalbl(long double, long double)=E2=80=99 has a different exception specifi= er /usr/include/bits/mathcalls.h:365:1: error: from previous declaration =E2= =80=98long double scalbl(long double, long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:284:53: error: declaration of =E2=80=98doub= le sinh(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:75:1: error: from previous declaration =E2=80= =98double sinh(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:285:53: error: declaration of =E2=80=98float sinhf(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:75:1: error: from previous declaration =E2=80= =98float sinhf(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:287:65: error: declaration of =E2=80=98long= double sinhl(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:75:1: error: from previous declaration =E2=80= =98long double sinhl(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:291:53: error: declaration of =E2=80=98doub= le sqrt(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:158:1: error: from previous declaration =E2= =80=98double sqrt(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h:292:53: error: declaration of =E2=80=98float sqrtf(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:158:1: error: from previous declaration =E2= =80=98float sqrtf(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h:294:65: error: declaration of =E2=80=98long= double sqrtl(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:158:1: error: from previous declaration =E2= =80=98long double sqrtl(long double) throw ()=E2=80=99 /usr/include/bits/math-finite.h: In function =E2=80=98double tgamma(double)= =E2=80=99: /usr/include/bits/math-finite.h:300:49: error: declaration of =E2=80=98doub= le tgamma(double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:260:1: error: from previous declaration =E2= =80=98double tgamma(double) throw ()=E2=80=99 /usr/include/bits/math-finite.h: In function =E2=80=98float tgammaf(float)= =E2=80=99: /usr/include/bits/math-finite.h:307:48: error: declaration of =E2=80=98float tgammaf(float)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:260:1: error: from previous declaration =E2= =80=98float tgammaf(float) throw ()=E2=80=99 /usr/include/bits/math-finite.h: In function =E2=80=98long double tgammal(l= ong double)=E2=80=99: /usr/include/bits/math-finite.h:315:60: error: declaration of =E2=80=98long= double tgammal(long double)=E2=80=99 has a different exception specifier /usr/include/bits/mathcalls.h:260:1: error: from previous declaration =E2= =80=98long double tgammal(long double) throw ()=E2=80=99