[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#459031: fldigi: FTBFS: /usr/include/c++/4.2/bits/locale_facets.tcc:118: error: 'dynamic_cast' not permitted with -fno-rtti



tags 459031 + patch
thanks

The FTBFS happens with g++-4.2 4.2.2-5 but not 4.2.2-4. I have tracked down the
error to a change made to /usr/include/c++/4.2/bits/locale_facets.tcc and just
filed a bug report for libstdc++6-4.2-dev.

The -fno-rtti switch will be removed in fldigi-2.08 for unrelated reasons. You
could also remove it in 2.07 and solve the problem that way.

diff -Naur fldigi-2.07-orig/src/Makefile.am fldigi-2.07/src/Makefile.am
--- fldigi-2.07-orig/src/Makefile.am	2007-12-26 20:22:45.000000000 +0000
+++ fldigi-2.07/src/Makefile.am	2008-01-04 14:20:21.000000000 +0000
@@ -7,7 +7,7 @@
 
 AM_CXXFLAGS = @FLTK_CFLAGS@ @PORTAUDIOCPP_CFLAGS@ @SNDFILE_CFLAGS@ \
 	@SAMPLERATE_CFLAGS@ @HAMLIB_CFLAGS@ \
-	-pipe -Wall -O2 -ffast-math -fno-rtti -fexceptions -finline-functions
+	-pipe -Wall -O2 -ffast-math -fexceptions -finline-functions
 
 LDADD = @BOOST_LDFLAGS@ @FLTK_LIBS@ @PORTAUDIOCPP_LIBS@ @SNDFILE_LIBS@ \
 	@SAMPLERATE_LIBS@ @HAMLIB_LIBS@ @RTLIB@


Regards,
Stelios.

-- 

Stelios Bounanos
perl -e 'print+reverse"t\nney.ttno\@esb"=~/(..)/sg'     #key: 0xE88A7F61

Please use the address above to email me from non-debian.org domains.



Reply to: