| View Issue Details [ Jump to Notes ]  | [ Issue History ] [ Print ]  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0000112 | aMule | Messages | public | 2004-08-09 08:53 | 2004-08-09 18:58 | 
 | 
| Reporter | lucasvr |   | 
| Assigned To | Xaignar |   | 
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | resolved | Resolution | fixed |   | 
| Platform |  | OS |  | OS Version |  | 
| Product Version |  |   | 
| Target Version |  | Fixed in Version |  |   | 
 | 
| Summary | 0000112: Compile problems with wxGTK 2.5.2 (message 2/2) | 
| Description | 'const wxArrayString' cannot default to '0' on class declaration. It must be used 'wxEmptyString' instead, with the proper casting, since it's a 'const char *' | 
| Additional Information | The attached patch fixes the compilation problem on aLinkCreator. | 
| Tags | No tags attached. | 
 | 
| Fixed in Revision |  | 
| Operating System |  | 
 | 
| Attached Files |   02-ed2khash_h.patch [^] (539 bytes) 2004-08-09 08:53 [Show Content] [Hide Content]--- aMule-2.0.0rc5/src/utils/aLinkCreator/src/ed2khash.h.orig	2004-08-09 03:42:26.000000000 -0300
+++ aMule-2.0.0rc5/src/utils/aLinkCreator/src/ed2khash.h	2004-08-09 03:48:17.000000000 -0300
@@ -78,7 +78,8 @@
     wxArrayString GetED2KHash();
 
     /// Get Ed2k link
-    wxString GetED2KLink(const bool addPartHashes=false, const wxArrayString& arrayOfUrls=0);
+    wxString GetED2KLink(const bool addPartHashes=false, 
+		         const wxArrayString& arrayOfUrls=(const wxArrayString&)wxEmptyString);
   };
 
 #endif /* _ED2KHASH_H */
 | 
 |