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

Re: menu not build on hppa

> Some of the warnings found during compiling:
> install-fvwmgenmenu.c: In function `main':
> install-fvwmgenmenu.c:27: warning: implicit declaration of function `exit'
> gcc-3.2  -O2 -Wall  -o install-fvwmgenmenu  install-fvwmgenmenu.o  
> make[2]: Leaving directory `/usr/src/menu-2.1.5/update-menus'

#include <stdlib.h>

> DIR=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1  -I. -I.      -O2 -Wall -c adstring.cc
> In file included from /usr/include/c++/3.2/backward/strstream:51,
>                  from /usr/include/c++/3.2/backward/strstream.h:33,
>                  from adstring.cc:8:
> /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 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.

strstream is not part of the C++ standard.

> Should I assume that Menu itself is written using deprecated, non-portable code?

many not non-portable exactly, but certain it uses some non-standard c++

(trying to resist the temptation to say more about what he thinks about
the menu code......)

Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports

Reply to: