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

Re: compat c++



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 fedoraproject org


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