Results of a test mass rebuild of rawhide-20090126 with gcc-4.4.0-0.9

Ignacio Vazquez-Abrams ivazqueznet at gmail.com
Wed Feb 4 00:12:58 UTC 2009


On Tue, 2009-02-03 at 17:40 -0600, Jason L Tibbitts III wrote:
> which, while fine in GCC 4.3, produces this with GCC 4.4:
> u4file.h:66:27: error: macro "putc" requires 2 arguments, but only 1 given
> u4file.h:66: error: ISO C++ forbids initialization of member 'putc'
> u4file.h:66: error: making 'putc' static
> u4file.h:66: error: ISO C++ forbids in-class initialization of non-const static member 'putc'
> u4file.h:66: error: 'putc' declared as a 'virtual' field
> 
> The purpose is to inherit from this base class and replace some
> methods with variants that transparently operate on zip files.  I'm
> guessing here that putc has become a macro and that I need to rename
> the putc member, but that mightn't be a small patch so I figured I'd
> check for a simpler way before trying to hack that up.

You can try #undef'ing it, but I don't know how much evil that's going
to do elsewhere.

-- 
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090203/9788d18e/attachment.sig>


More information about the fedora-devel-list mailing list