Hylafax Mailing List Archives

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

Re: [hylafax-users] Problems with CVS



On Mon, 17 Mar 2003 22:26:06 -0800
Lee Howard <faxguy@howardsilvan.com> wrote:

> 
> > 2). Hfaxd would not compile due to errors produced with
> > OldProtocol.c++.  Since I do not use the old protocol, I
> > altered the Makefile in the /src/hfaxd directory by eliminating
> > the -DOLDPROTO_SUPPORT=1.
> 
> Could you post the exact errors, please?
> 

Here is the output from make in the /src/hfaxd directory:

/usr/bin/g++     -DOLDPROTO_SUPPORT=1 -DSNPP_SUPPORT=1 -I.././faxd -I/usr/local/include  -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././hfaxd -I.././util -I/usr/local/include -O2 -pipe -march=pentium4 -fomit-frame-pointer -fno-strict-aliasing -malign-double -m128bit-long-double -mfpmath=sse -msse -msse2 -mmmx   -c OldProtocol.c++

OldProtocol.c++: In member function `void OldProtocolServer::applyToJob(const char*, const char*, void (OldProtocolServer::*)(Job&, const char*))':
OldProtocol.c++:550: choosing `bool operator==(const char*, const fxStr&)' over `operator=='
OldProtocol.c++:550:   because worst conversion for the former is better than worst conversion for the latter
OldProtocol.c++:550: choosing `bool operator==(const char*, const fxStr&)' over `operator=='
OldProtocol.c++:550:   because worst conversion for the former is better than worst conversion for the latter
OldProtocol.c++: In member function `void OldProtocolServer::applyToJobGroup(const char*, const char*, void (OldProtocolServer::*)(Job&, const char*))':
OldProtocol.c++:588: choosing `bool operator==(const char*, const fxStr&)' over `operator=='
OldProtocol.c++:588:   because worst conversion for the former is better than worst conversion for the latter
OldProtocol.c++:588: choosing `bool operator==(const char*, const fxStr&)' over `operator=='
OldProtocol.c++:588:   because worst conversion for the former is better than worst conversion for the latter
OldProtocol.c++:764:17: warning: pasting "::" and "remove" does not give a valid preprocessing token
OldProtocol.c++:764:17: warning: pasting "::" and "remove" does not give a valid preprocessing token
OldProtocol.c++:770:15: warning: pasting "::" and "kill" does not give a valid preprocessing token
OldProtocol.c++:770:15: warning: pasting "::" and "kill" does not give a valid preprocessing token

make[1]: *** [OldProtocol.o] Error 1
make[1]: Leaving directory `/mnt/compile/hylafax-cvs/hylafax/hfaxd'
make: *** [default] Error 2


The error occurs only with the compilation of OldProtocol.c++

Again, the compiler is gcc-3.2.2

Frank Peters


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*



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