[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Missing longjmp definition when compiling C++ programs



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."