[Bug c++/54196] gcc doesn't find incompatible exception specification for operator

mib.bugzilla at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 7 18:57:00 GMT 2012


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

--- Comment #1 from mib.bugzilla at gmail dot com 2012-08-07 18:57:28 UTC ---
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/site/spt/rdrive/ref/gcc/4.7.0/efi2/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /home/myuser/d/gcc_src/gcc-4.7.0/configure
--prefix=/rdrive/ref/gcc/4.7.0/efi2 --enable-languages=c,c++,objc,fortran
--disable-multilib --enable-bootstrap --target=x86_64-unknown-linux-gnu
--disable-bootstrap --enable-decimal-float
--with-gmp=/home/myuser/d/gcc_src/lib/efi2
--with-mpfr=/home/myuser/d/gcc_src/lib/efi2
--with-mpc=/home/myuser/d/gcc_src/lib/efi2
Thread model: posix
gcc version 4.7.0 (GCC)


g++ -c fubar.cpp
fubar.cpp: In function âint main(int, char**)â:
fubar.cpp:16:40: error: invalid conversion from âvoid (*)()â to âvoid* (*)()â
[-fpermissive]



More information about the Gcc-bugs mailing list