compat c++

Jussi Lehtola jussilehtola at fedoraproject.org
Tue May 26 15:15:19 UTC 2009


On Tue, 2009-05-26 at 17:11 +0200, Christoph Höger wrote:
> Hi,
> 
> I was just wondering, if there is a compat c++ compiler package (or
> mode) available in fedora. The issue I encountered was that I got a lot
> of compiler errors because of strdup() malloc() etc. usages in c++ files
> without proper #include <legacy> stuff. 
> I am not a C++ expert, but I guess that there was a default behavior
> change between g++ 3 and 4. 

The best thing to do would of course be patching the code to respect the
standards, but you can

# yum -y install compat-gcc-34-c++

and use g++34 in the mean time.
-- 
Jussi Lehtola
Fedora Project Contributor
jussilehtola at fedoraproject.org




More information about the fedora-devel-list mailing list