- From: Regis Boudin <regis@boudin.name>
- Date: Mon, 23 Jul 2007 21:37:50 +0100
- To: www-amaya@w3.org
- Message-Id: <1185223071.4220.18.camel@thinkpad.imalip.net>
Hi, With Debian planning to switch to GCC 4.2 by default soon, I tried to build the latest Amaya release with it. One of the changes with it is that assigning a constant string to a 'char*' generates a warning, and a 'const char*' to a 'char*' an error. Building Amaya generates about 7000 of this new warning, so I tried to get rid of a few of them. The attached patches, when applied in order reduce the number of warnings to 3080, which is a good start, just by declaring a certain number of 'const char *' instead of 'char *'. Also, you might be interested to know that I tried to build using the latest version of wxWidgets, and that as far as my tests went, the build was successful and amaya could start correctly. Also, I'm not sure whether it's related or not, but I could run it with the DRI disabled, so the long-standing crashing bug might be gone. As usual, any question, please don't hesitate to ask. Thanks, Regis
Attachments
- text/x-patch attachment: patch1.diff
- text/x-patch attachment: patch2.diff
- text/x-patch attachment: patch3.diff
- text/x-patch attachment: patch4.diff
Received on Monday, 23 July 2007 20:35:17 UTC