bug-gnu-utils
[Top][All Lists]
Advanced

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

Bug in GNU Plotutils?


From: Torquil Macdonald Sørensen
Subject: Bug in GNU Plotutils?
Date: Wed, 28 Jan 2004 22:44:50 +0100
User-agent: Mutt/1.4.1i

Compilation of GNU Plotutils 2.4.1 fails. See below for error messages.

Software versions:
OS: Redhat9

$gcc --version
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

$g++ --version
g++ (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

GNU Plotutils 2.4.1 source code

MESSAGES:
Running 'make' after './configure --prefix=$HOME/usr/stow/plotutils
--enable-libplotter --with-x' ends with the following error messages:

make[2]: Entering directory 
`/mn/proton/site/tmac/src/plotutils-2.4.1/libplotter'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/local/X11R6/include -I./../include -DLIBPLOT -DLIBPLOTTER    -O2 -c 
g_write.cc
rm -f .libs/g_write.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/local/X11R6/include -I./../include 
-DLIBPLOT -DLIBPLOTTER -O2 -c g_write.cc  -fPIC -DPIC -o .libs/g_write.lo
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
                 from ../include/plotter.h:61,
                 from extern.h:44,
                 from g_write.cc:5:
/usr/include/c++/3.2.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.
g_write.cc: In function `void _write_bytes(const plPlotterData*, int, const 
   unsigned char*)':
g_write.cc:43: invalid conversion from `const unsigned char*' to `const char*'
g_write.cc:43:   initializing argument 1 of `std::basic_ostream<_CharT, 
   _Traits>& std::basic_ostream<_CharT, _Traits>::write(const _CharT*, int) 
   [with _CharT = char, _Traits = std::char_traits<char>]'
make[2]: *** [g_write.lo] Error 1
make[2]: Leaving directory `/mn/proton/site/tmac/src/plotutils-2.4.1/libplotter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mn/proton/site/tmac/src/plotutils-2.4.1'
make: *** [all-recursive-am] Error 2
$

Regards,
Torquil Sorensen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]