From mint-bounce@lists.fishpool.fi  Sat Dec 31 11:19:59 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
In-Reply-To: <1136023113.6722.79.camel@linuxbox>
References: <31122005075034i2C00164HYQC0A8B215@erich-arning.de> <1136023113.6722.79.camel@linuxbox>
Mime-Version: 1.0 (Apple Message framework v746.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <974C708A-4F43-4370-971F-7DB2948646DF@epfl.ch>
Cc: MiNT List <mint@fishpool.com>
Content-Transfer-Encoding: 7bit
From: =?ISO-8859-1?Q?Philipp_Donz=E9?= <philipp.donze@epfl.ch>
Subject: Re: [MiNT] Compiling problems with XaAES
Date: Sat, 31 Dec 2005 11:16:56 +0100
To: Odd Skancke <ozk@atari.org>
X-Mailer: Apple Mail (2.746.2)
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-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=BAYES_00
X-Spam-Level: 

> I am no compiler expert, but it looks like the
> native 2.95.3 version we have dont have the __CLOBBER_RETURN macro
> defined whereas m68k cross gcc compiles this without problems.

The macro __CLOBBER_RETURN was introduced for compatibility with GCC 3.3
It is defined in the file <compiler.h>. (see mintlib/include/compiler.h)

> In the meantime I will fix this by #if __GNUC__ > 2 checks so it
> compiles for now.

Hmm... as you see there is a "version check" in its definition.

#if ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ == 4)
# define __CLOBBER_RETURN(a)
#else
# define __CLOBBER_RETURN(a) a,
#endif


Philipp


