From fnaumann@mail.cs.uni-magdeburg.de  Mon Sep  6 08:08:34 2004
Mime-Version: 1.0 (Apple Message framework v619)
In-Reply-To: <Pine.NEB.4.61.0409060705410.8079@wh58-508.st.uni-magdeburg.de>
References: <6DB1C800-FE81-11D8-90B4-00039357F826@epfl.ch> <Pine.NEB.4.61.0409060705410.8079@wh58-508.st.uni-magdeburg.de>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <C9262A30-FFC9-11D8-B112-00039357F826@epfl.ch>
Content-Transfer-Encoding: 7bit
Cc: mint@lists.fishpool.fi
From: =?ISO-8859-1?Q?Philipp_Donz=E9?= <philipp.donze@epfl.ch>
Subject: Re: [MiNT] mintlib tzinit.c
Date: Mon, 6 Sep 2004 07:58:33 +0200
X-Mailer: Apple Mail (2.619)
Delivered-To: mint@lists.fishpool.fi
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: philipp.donze@epfl.ch
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-ID: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
X-Milter: ClamAV 0.70/0.70kjel
X-Milter: milter-regex 1.5jel
X-Milter: ClamAV 0.70/0.70kjel
X-Milter: milter-regex 1.5jel

Hi,

>> Are there so many compiler differences between gcc 3.3 and 2.95 or is 
>> mintlib not compilable at the moment?
>
> Yes, as already stated MiNLib is not compatible with gcc 3.x yet. 
> There are some inofficial patches for gcc 3.x from Patrice Mandin 
> (look at his website).

And why is this inofficial? Do these patches break the compatibility 
with gcc 2.95?
(My private patch is compatible with gcc 2.95 and 3.3 as I introduced a 
macro in mint/osbind.h:
> #if __GNUC__ >= 3 || __GNUC_MINOR__ >= 3
> #define CLOBBER_RETURN(a)
> #else
> #define CLOBBER_RETURN(a) a ,
> #endif

which removes the "clobbered" return register from the clobber list.
I don't know if the version check is appropriate (i.e. do gcc < 3.3 
also have this difference?) but it works for me. IMO this version 
should still compile fine with gcc 2.95.


Philipp


