![]() |
At 09:45 AM 8/8/00 +0200, Giulio Orsero wrote: >I'm compiling the cvs snapshot cvs-20000604 (included in the latest rpm) >on Red Hat Beta5/Pinstripe. >Environment: >glibc-2.1.91, kernel headers 2.4.0, gcc-2.96, kernel 2.2.16. > >faxmail cannot be built on this system. >The rest of the binaries build ok. > >I assume it's a compiler bug since the compiler seems to say so; I don't >understand anything about compilers. It looks like a compiler bug(unless there is something really weird with the fxStrDictIter class).....perhaps try rewriting the method might avoid the bug, perhaps something like: fxStr MsgFmt::mapHeader(const fxStr& name) { fxStrDictIter hi(headMap); while (hi.notDone()) { if (strcasecmp(hi.key(), name) == 0) { return (hi.value()); } hi++; } return name; } instead of fxStr MsgFmt::mapHeader(const fxStr& name) { for (fxStrDictIter hi(headMap); hi.notDone(); hi++) if (strcasecmp(hi.key(), name) == 0) return (hi.value()); return (name); } ...it also might be having trouble creating fxStrDictIter on the stack, perhaps also try creating it on the heap with 'new' and later 'delete'. - Robert ____________________ HylaFAX(tm) Users Mailing List _______________________ To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null