Package: xchm
Version: 2:1.2.0-5
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 xchm_2:1.2.0-5 on bigsur by sbuild/mips 1.80
...
> if mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../art  
> -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 
> -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA  
> -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 
> -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
> -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -W -Wall -MT chmapp.o -MD -MP -MF 
> ".deps/chmapp.Tpo" -c -o chmapp.o chmapp.cpp; \
>       then mv -f ".deps/chmapp.Tpo" ".deps/chmapp.Po"; else rm -f 
> ".deps/chmapp.Tpo"; exit 1; fi
> ./chmframe.h:169: error: extra qualification 'CHMFrame::' on member 
> 'OnHistFile'
> make[3]: *** [chmapp.o] Error 1


--- ./src/chmframe.h~   2006-03-09 07:20:11.000000000 +0000
+++ ./src/chmframe.h    2006-03-09 07:20:16.000000000 +0000
@@ -166,7 +166,7 @@
        void OnPrint(wxCommandEvent& event);
 
        //! Called when the user selects a file from the file history.
-       void CHMFrame::OnHistFile(wxCommandEvent& event);
+       void OnHistFile(wxCommandEvent& event);
 
        //! Called when the user types Ctrl-F.
        void OnFind(wxCommandEvent& event);

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