Bug 39739

Summary: unable to link after -fno-rtti automatically removed from c++ flags
Product: [Applications] kdevelop Reporter: kalbun
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kalbun 2002-03-24 20:49:58 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           KDevelop 2.2.1 (using KDE 2.2.1 )
Severity:          normal
Installed from:    Unspecified Linux
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: gcc 2.96 20000731

I recently downloaded Kdevelop 2.2.1 and noticed that even if you add the flag -fno-rtti in the compiler flags it is automatically removed.
This results in the linker being unable to complete its job. 
I discovered the problem because an old project (generated with the previous KDevelop) was still linking perfecty.
The only solution was to add the flags to Makefile by hand (and to do so each time makefiles are regenerated).

(Submitted via bugs.kde.org)
Comment 1 Caleb Tennis 2002-10-09 22:02:49 UTC
Shouldn't be a problem with Gideon (3.0).