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@xxxxxxxxx> PLEASE don't CC me; I'm already subscribed
Attachment:
signature.asc
Description: This is a digitally signed message part
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list