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

Re: menu not build on hppa



On Thu, 19 Sep 2002, Randolph Chung wrote:

> > It was building fine on paer before I uploaded it.
> > postinst read
> > 10 kill -KILL `pidof update-menus` 2> /dev/null || true
> > 11 chmod a+x /usr/bin/update-menus
> > 12 update-menus
> > 
> > So maybe update-menus compile but does not run correctly.
> > 
> > Could you try to run update-menus manually to see what happen ?
> > 
> > Thanks a lot for your check,
> 
> i thought this was documented in bts, but maybe not...
> 
> menu uses C++ exceptions extensively, and C++ exceptions support is not
> very complete on hppa (in 3.0.x compilers) and will cause aborts in 
> many cases.

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'

[...]

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 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.

*****

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

-- 
Martin-Éric Racine, Espoo, Finland.
"Kas sa tahad mind? - Nej!!! Är du en idiot?!!"
http://www.pp.fishpool.fi/~q-funk/



Reply to: