Hi Andreas On Fri, Apr 01, 2005 at 09:15:01PM +0200, Andreas Jochens wrote: > Package: passepartout > Version: 0.6-1 > Severity: normal > Tags: patch > > When building 'passepartout' on amd64/unstable with gcc-4.0, > I get the following error: > > checking whether make sets $(MAKE)... yes > checking for x86_64-linux-g++... x86_64-linux-g++ > checking for C++ compiler default output file name... configure: error: C++ > compiler cannot create executables > See `config.log' for more details. > make: *** [config.status] Error 77 > > This is because gcc-4.0 does not allow the '-Wold-style-casts' switch > anymore.
Is it just the switch which is no longer supported or is the also an actual change in the behaviout of the g++ compiler? > > With the attached patch 'passepartout' can be compiled > on amd64 using gcc-4.0. Could you please comment some more on your patch. I also see some changes to the actual code of passepartout and their implications are not clear to me from simply looking at the patch. Also it would be nice if you could create a patch which does not include autogenerated files like configure. Gaudenz
pgpqvbW8s2Qlk.pgp
Description: PGP signature

