Package: xpp
Version: 1.5-4
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of xpp_1.5-4 on bigsur by sbuild/mips 1.80
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.       -I/usr/include/freetype2  -Wall 
> -pipe -g -O2 -MT xpp-mainwindow.o -MD -MP -MF ".deps/xpp-mainwindow.Tpo" -c 
> -o xpp-mainwindow.o `test -f 'mainwindow.cxx' || echo './'`mainwindow.cxx; \
>       then mv -f ".deps/xpp-mainwindow.Tpo" ".deps/xpp-mainwindow.Po"; else 
> rm -f ".deps/xpp-mainwindow.Tpo"; exit 1; fi
> xpp.h:187: error: extra qualification 'printFiles::' on member 
> 'getSpecialOptionIndex'
> mainwindow.cxx: In member function 'void 
> xppMainWindow::cb_Apply_i(Fl_Return_Button*, void*)':
> mainwindow.cxx:914: warning: 'fl_ask' is deprecated (declared at 
> /usr/include/FL/fl_ask.H:59)
> mainwindow.cxx:914: warning: 'fl_ask' is deprecated (declared at 
> /usr/include/FL/fl_ask.H:59)
> make[2]: *** [xpp-mainwindow.o] Error 1

--- ./xpp.h~    2006-03-10 15:46:13.000000000 +0000
+++ ./xpp.h     2006-03-10 15:46:19.000000000 +0000
@@ -179,7 +179,7 @@
    */
 
   int /* O - index of the record of the given option in the array */
-  printFiles::getSpecialOptionIndex(int *num_special_opts_in_arr,
+  getSpecialOptionIndex(int *num_special_opts_in_arr,
                                      /* number of options in the array */
                                      special_opt_t **special_opts_arr,
                                       /* array of numerical/string 

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to