Package: belpic
Version: 2.3.13.full-7
Severity: important

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 I'll upgrade this to serious.


> Automatic build of belpic_2.3.13.full-7 on reyes by sbuild/i386 1.112
...
>       then mv -f ".deps/Config.Tpo" ".deps/Config.Plo"; else rm -f 
> ".deps/Config.Tpo"; exit 1; fi
>  g++ -DPACKAGE_NAME=\"belpic-winscarp\" -DPACKAGE_TARNAME=\"belpic-winscarp\" 
> -DPACKAGE_VERSION=\"2.3.13\" "-DPACKAGE_STRING=\"belpic-winscarp 2.3.13\"" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"belpic-winscarp\" -DVERSION=\"2.3.13\" 
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 
> -DHAVE_MEMSET=1 -DHAVE_STRCASECMP=1 -I. -I. -Wall -Dlinux -I. 
> -I../ObjectsMultiPlatform/Include -I/usr/include/PCSC 
> -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ 
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -g -O2 -MT Config.lo -MD -MP -MF 
> .deps/Config.Tpo -c Config.cpp  -fPIC -DPIC -o .libs/Config.o
> Config.h:34: error: extra qualification 'CConfig::' on member 'FindValue'
> Config.h:38: error: extra qualification 'CConfig::' on member 'GetGlobalDir'
> make[2]: *** [Config.lo] Error 1
> make[2]: Leaving directory `/build/tbm/belpic-2.3.13.full/winscarp'


--- ./winscarp/Config.h~        2006-04-08 12:23:04.000000000 +0000
+++ ./winscarp/Config.h 2006-04-08 12:23:13.000000000 +0000
@@ -31,11 +31,11 @@
     int GetServiceEnabled();

 

 protected:

-    const char *CConfig::FindValue(char *pszSection, char *pszKey);

+    const char *FindValue(char *pszSection, char *pszKey);

 

 private:

     char **SplitString(const char *psStr, int iLength, char cSep);

-    wxString CConfig::GetGlobalDir();

+    wxString GetGlobalDir();

 

 // Members

 private:


But then I get the following, which I'm not sure is a bug in wxwidgets-2.6 or
your package (I thought I had a patches wxwidgets installed so either it needs
more patching or your package needs another fix):

 g++ -DPACKAGE_NAME=\"belpic-winscarp\" -DPACKAGE_TARNAME=\"belpic-winscarp\" 
-DPACKAGE_VERSION=\"2.3.13\" "-DPACKAGE_STRING=\"belpic-winscarp 2.3.13\"" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"belpic-winscarp\" -DVERSION=\"2.3.13\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 
-DHAVE_MEMSET=1 -DHAVE_STRCASECMP=1 -I. -I. -Wall -Dlinux -I. 
-I../ObjectsMultiPlatform/Include -I/usr/include/PCSC 
-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 -g -O2 -MT Config.lo -MD -MP -MF 
.deps/Config.Tpo -c Config.cpp  -fPIC -DPIC -o .libs/Config.o
/usr/include/wx-2.6/wx/hashmap.h: In member function 
'wxLongToLongHashMap_wxImplementation_HashTable::Node** 
wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) 
const':
/usr/include/wx-2.6/wx/hashmap.h:684: warning: dereferencing type-punned 
pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/dynload.h: In member function 
'wxDLManifest_wxImplementation_HashTable::Node** 
wxDLManifest_wxImplementation_HashTable::GetNodePtr(const wxString&) const':
/usr/include/wx-2.6/wx/dynload.h:35: warning: dereferencing type-punned pointer 
will break strict-aliasing rules
Config.cpp: In member function 'void CConfig::Load()':
Config.cpp:112: error: ambiguous overload for 'operator+' in 
'CConfig::GetGlobalDir()() + "BEID.conf"'
/usr/include/wx-2.6/wx/string.h:1475: note: candidates are: wxString 
operator+(const wxString&, const wxWCharBuffer&) <near match>
/usr/include/wx-2.6/wx/string.h:950: note:                 wxString 
operator+(const wxChar*, const wxString&) <near match>
/usr/include/wx-2.6/wx/string.h:946: note:                 wxString 
operator+(wxChar, const wxString&) <near match>
/usr/include/wx-2.6/wx/string.h:944: note:                 wxString 
operator+(const wxString&, wxChar) <near match>
/usr/include/wx-2.6/wx/string.h:942: note:                 wxString 
operator+(const wxString&, const wxString&) <near match>
Config.cpp:117: error: cannot convert 'const wxChar*' to 'const char*' for 
argument '2' to 'int NCONF_load(CONF*, const char*, long int*)'
make[1]: *** [Config.lo] Error 1
make[1]: Leaving directory `/home/tbm/src/belpic-2.3.13.full/winscarp'
make: *** [all-recursive] Error 1

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