From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14258 invoked by alias); 10 Dec 2002 17:30:12 -0000 Mailing-List: contact gsl-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sources.redhat.com Received: (qmail 14186 invoked from network); 10 Dec 2002 17:29:55 -0000 Received: from unknown (HELO gwsmtp.thomson-csf.com) (195.101.39.226) by sources.redhat.com with SMTP; 10 Dec 2002 17:29:55 -0000 Received: from thomplex.thomson-csf.com (200.3.2.2) by gwsmtp.thomson-csf.com (NPlex 6.5.026) id 3DF58B130002000B for gsl-discuss@sources.redhat.com; Tue, 10 Dec 2002 18:29:08 +0100 Received: from tisplex.tisfr.thales (142.1.6.1) by thomplex.thomson-csf.com (NPlex 6.5.026) id 3DF5FD6400004436 for gsl-discuss@sources.redhat.com; Tue, 10 Dec 2002 16:11:42 +0100 Received: from tisplex.tisfr.thales (142.1.6.1) by tisplex.tisfr.thales (NPlex 6.5.026) id 3DEE2C6200074260 for gsl-discuss@sources.redhat.com; Tue, 10 Dec 2002 15:55:16 +0100 Received: from Aldebaran (142.57.57.43) by sysecaplex.velizy.syseca (NPlex 6.5.026) id 3DF4377D00007297; Tue, 10 Dec 2002 15:56:01 +0100 From: "Gabriel Soubies" To: "Steve ROBBINS" Cc: Subject: RE: IRIX installation problems Date: Tue, 10 Dec 2002 09:39:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <20021209150838.E1819205@shadow.bic.mni.mcgill.ca> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal X-SW-Source: 2002-q4/txt/msg00215.txt.bz2 I finally managed to compile it! I forced compilation with the C compiler as Steve Robbins suggested. If it can be of any help to anybody in the future, here are the flags I used to compile it: setenv CFLAGS '-x c -LANG:std=off -OPT:IEEE_NaN_inf=ON -anach' The flag that changed my life is -LANG:std=off. No casting problem anymore. Anyway, I had to edit some files that contained mallocs that were not explicitly cast to the type of variable to which they were assigned. Example: float *pFloat = malloc(......); // not accepted float *pFloat = (float*)malloc(......); // accepted I didn't find a way to make it accept to MipsPro 7.3. I think it deserved to be noted. Thanks again to everybody that helped me!