From mint-bounce@lists.fishpool.fi Thu Mar 27 16:36:05 2008 Message-ID: <47EBF01B.5020106@freesbee.fr> Date: Thu, 27 Mar 2008 20:06:03 +0100 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: mint Subject: Re: [MiNT] Some comments on GCC 4 References: <200803270951.11111.jflemaire@skynet.be> In-Reply-To: <200803270951.11111.jflemaire@skynet.be> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id m2RKZxgB005219 J. F. Lemaire wrote: > - the -s option given to GCC does not seem to result in stripping the > binaries. This is definitely abnormal. I recently saw a difference between the output of cross-ld and native-ld. The cross one was good, the native one added some garbage at the end. Maybe that's the same problem for you. Maybe there is an issue with file handling in the MiNTLib, it has to be investigated. > - the only new warning I had (which may or may not mean that my code is > clean...) was 'dereferencing type-punned pointer will break > strict-aliasing rules' on the following line: This warning is very common with GCC 4. Unfortunately, I didn't investigate it. I don't know if there is a standard way to fix the code. Thank you for using GCC 4 ! -- Vincent Rivière