new gcc-4.1 issues

Ralf Corsepius rc040203 at freenet.de
Fri Feb 3 08:10:40 UTC 2006


On Fri, 2006-02-03 at 08:53 +0100, Eric TANGUY wrote:
> I have a package which no more build in devel with gcc-4.1. It seems that
> i need to pass a new paramater -ffriend-injection
> (http://gcc.gnu.org/gcc-4.1/changes.html) but i don't know how to do that.
> During configure process or during make process ?
1. Have the code fixed.

2. During configuration.
%configure CXXFLAGS="${RPM_OPT_FLAGS} -ffriend-injection"


However, if the offending code you are facing this issue with, is part
of a public header, only alternative 1. is a feasible alternative.

Ralf






More information about the fedora-extras-list mailing list