Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] cvs-20000604 -> g++ internal compiler error



On Mon, 14 Aug 2000 18:09:34 +1000, you wrote:

>> >...it also might be having trouble creating fxStrDictIter on the stack,
>> >perhaps also try creating it on the heap with 'new' and later 'delete'.
>>Can't follow you here :-)
>
>Try something like:
>
>fxStr
>MsgFmt::mapHeader(const fxStr& name)
>{
No luck

/usr/bin/g++        -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././faxmail
-I.././util -I/usr/include -g -O  -c MsgFmt.c++
MsgFmt.c++: In method `fxStr MsgFmt::mapHeader (const fxStr &)':
MsgFmt.c++:64: conversion from `fxStrDictIter *' to non-scalar type
`fxStrDictIter' requested
MsgFmt.c++:67: type `class fxStrDictIter' argument given to `delete',
expected pointer
MsgFmt.c++:72: type `class fxStrDictIter' argument given to `delete',
expected pointer
MsgFmt.c++:74: Internal compiler error in scan_region, at except.c:2808
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [MsgFmt.o] Error 1
make[1]: Leaving directory
`/home/go/redhat/BUILD/hylafax-cvs-20000604/faxmail'
make: *** [default] Error 2


However, dave fournier suggested to compile without optimization;
without "-O" the original MsgFmt.c++ compiles ok. So, until RedHat (or
whoever is responsible for g++) fix it (maybe in the final 7.0 release),
we can compile faxmail without -O.

Thanks.

-- 
giulioo@pobox.com


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services