• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setjmp/longjmp changed in Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setjmp/longjmp changed in Tiger


  • Subject: Re: setjmp/longjmp changed in Tiger
  • From: "David N. Williams" <email@hidden>
  • Date: Wed, 01 Jun 2005 14:30:50 -0400
  • Organization: University of Michigan

Matt Watson wrote:
You might consider trying your code on other systems to see what they  do.

Here's what I get on FreeBSD, for instance:

% ./a.out
rounding direction before setjmp is 0
rounding direction changed to 1024
status = 15
rounding direction after longjmp is 0

If you find that other OS's do the same thing, I suggest adapting your code to work with this behavior.

The only other OS I have easy access to is linux. There I get the same behavior as Panther:

arkanoid% gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/specs
Configured with: ./configure --prefix=/usr --enable-shared
--enable-languages=all --enable-threads=posix --with-slibdir=/lib
--enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.1
arkanoid% gcc -lm -o testsetjmp testsetjmp.c
arkanoid% testsetjmp

rounding direction before setjmp is 0
rounding direction changed to 1024
status = 15
rounding direction after longjmp is 1024

-- David

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: setjmp/longjmp changed in Tiger
      • From: Eric Gouriou <email@hidden>
References: 
 >Re: setjmp/longjmp changed in Tiger (From: "David N. Williams" <email@hidden>)
 >Re: setjmp/longjmp changed in Tiger (From: Matt Watson <email@hidden>)

  • Prev by Date: Re: setjmp/longjmp changed in Tiger
  • Next by Date: Re: pdisk vs pdisk.8
  • Previous by thread: Re: setjmp/longjmp changed in Tiger
  • Next by thread: Re: setjmp/longjmp changed in Tiger
  • Index(es):
    • Date
    • Thread