Re: compat c++

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

 



On Tuesday 26 May 2009, Jussi Lehtola wrote:
> 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.

...or try if -fpermissive (applied selectively where needed) helps with the 
newer one.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux