Package: openmsx-catapult
Version: 0.6.0-R1-2
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 attached.
> Automatic build of openmsx-catapult_0.6.0-R1-2 on bigsur by sbuild/mips 1.106
...
> Compiling openMSXLinuxController...
> /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/gdicmn.h: In member function
> 'wxStringToColourHashMap_wxImplementation_HashTable::Node**
> wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const
> wxString&) const':
> /usr/include/wx-2.6/wx/gdicmn.h:476: warning: dereferencing type-punned
> pointer will break strict-aliasing rules
> /usr/include/wx-2.6/wx/image.h: In member function
> 'wxImageHistogramBase_wxImplementation_HashTable::Node**
> wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long
> unsigned int&) const':
> /usr/include/wx-2.6/wx/image.h:123: warning: dereferencing type-punned
> pointer will break strict-aliasing rules
> src/openMSXController.h: At global scope:
> src/openMSXController.h:116: error: extra qualification 'openMSXController::'
> on member 'HandleLaunchReply'
> make[1]: *** [derived/mips-linux-opt/obj/openMSXLinuxController.o] Error 1
--- ./src/openMSXController.h~ 2006-03-23 11:26:32.000000000 +0000
+++ ./src/openMSXController.h 2006-03-23 11:26:40.000000000 +0000
@@ -110,7 +110,7 @@
void FinishLaunch ();
int tokenize (wxString text, wxString seperator, wxArrayString
& result);
wxString translate(wxArrayString tokens, int loop, wxString
lastdata);
- void openMSXController::HandleLaunchReply (wxString cmd,
wxCommandEvent * event,
+ void HandleLaunchReply (wxString cmd, wxCommandEvent * event,
LaunchInstructionType instruction,
int * sendStep, int loopcount,
wxString datalist);
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]