here's a quick patch that should make it compile without warnings.
let me know if this works:
dave
-----Original Message-----
From: Andrei Levin [mailto:levin@xxxxxxxxx]
Sent: Thursday, August 05, 2004 7:40 AM
To: fam@xxxxxxxxxxx
Subject: Problems compiling FAM 2.7.0 on Slackware 10.
I am trying to compile FAM-2.7.0 on Slackware 10. Seems like a problem
with gcc:
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-DFAM_CONF=\"/usr/local/etc/fam.conf\" -g -O2 -c Client.c++ -MT
Client.lo -MD -MP -MF .deps/Client.TPlo -fPIC -DPIC
In file included from /usr/include/c++/3.3.4/backward/iostream.h:31,
from Client.c++:37:
/usr/include/c++/3.3.4/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section
17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or <sstream> instead of
the deprecated header <strstream.h>. To disable this warning use
-Wno-deprecated.
/usr/include/c++/3.3.4/iostream:274: internal compiler error: in
value_format,
at dwarf2out.c:6471
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [Client.lo] Error 1
make[2]: Leaving directory `/usr/local/src/mail/fam-2.7.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mail/fam-2.7.0'
make: *** [all] Error 2
Can you please assist me?
Andrei Levin
--
Lan.Art s.r.l.
via Passo Fogolana, 45
35020 Codevigo (PD)
tel. 049-5850375
fax 049-9784042
http://www.lanart.it
fam-warnings.patch
Description: Binary data
|