If may help (don't know how to make a patch -- need to read
documentation)
in src/writers/image.cc :
170 f.Assignment().StartBlock().EndLine();
171 { std::ifstream is((Configuration.pixmap_dir+"/"+pixbuf).c_str());
172 while (is.good())
173 { char buf[16]; //unsigned
174 is.read(buf,sizeof buf);
175 size_t read=is.gcount();
176 f << '\t';
replaced 'ifstream' by 'std::ifstream'
replaced 'unsigned char' by 'char'
There is still have a lot of warnings in the form :
/usr/include/c++/3.2/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.
So I added -Wno-deprecated to CPPFLAGS in file Makefile
I don't know how to generate it from configure.in/Makefile.am
TN
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.