From mint-bounce@lists.fishpool.fi  Thu Mar  3 17:53:17 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
To: Frank Naumann <fnaumann@boerde.de>
Cc: Mint list <mint@fishpool.com>
Subject: Re: [MiNT] Missing longjmp definition when compiling C++ programs
References: <20050303155030.68009a00.mandin.patrice@wanadoo.fr>
	<Pine.NEB.4.62.0503031714400.22711@wh58-508.st.uni-magdeburg.de>
From: Andreas Schwab <schwab@suse.de>
X-Yow: Do I hear th' SPINNING of various WHIRRING, ROUND, and WARM
 WHIRLOMATICS?!
Date: Thu, 03 Mar 2005 17:49:10 +0100
In-Reply-To: <Pine.NEB.4.62.0503031714400.22711@wh58-508.st.uni-magdeburg.de> (Frank
 Naumann's message of "Thu, 3 Mar 2005 17:15:41 +0100 (CET)")
Message-ID: <jek6oo4qux.fsf@sykes.suse.de>
User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: schwab@suse.de
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=5.0 tests=BAYES_00
X-Spam-Level: 
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-508.st.uni-magdeburg.de id j23GrHgD021245

Frank Naumann <fnaumann@boerde.de> writes:

> Hello!
>
>> When looking at mintlib/include/setjmp.h, maybe I should define
>> __USE_BSD, right ?
>
> No, you should not define anything starting with two underscores self.
>
> I suggest _GNU_SOURCE (this is the recommended define to compile GNU 
> programs).

longjmp is plain std C, there should not be a need to define anything to
get the declaration.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


