X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3FAEC5AC.1A314E53@phekda.freeserve.co.uk> Date: Sun, 09 Nov 2003 22:54:36 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: C99 Functions Under Development and Checkout References: <140 DOT 1c1f96eb DOT 2cdfe659 AT aol DOT com> <3FAE99D9 DOT 76176B19 AT phekda DOT freeserve DOT co DOT uk> <7137-Sun09Nov2003225747+0200-eliz AT elta DOT co DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Eli Zaretskii wrote: > > > Date: Sun, 09 Nov 2003 19:47:37 +0000 > > From: Richard Dawe > > > > I just re-read the C99 standard and I don't see where it says the user can > > modify math_errhandling. > > Does it say whether the user could take an address of > math_errhandling? The C99 standard, section 7.12, paragraph 9, says: "The macros MATH_ERRNO MATH_ERREXCEPT expand to the integer constants 1 and 2, respectively; the macro math_errhandling expands to an expression that has type int and the value MATH_ERRNO, MATH_ERREXCEPT, or the bitwise OR of both. The value of math_errhandling is constant for the duration of the program. It is unspecified whether math_errhandling is a macro or an identifier with external linkage. If a macro definition is suppressed or a program defines an identifier with the name math_errhandling, the behavior is undefined." Since math_errhandling can be a macro, the answer is no. Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ] "You can't evaluate a man by logic alone." -- McCoy, "I, Mudd", Star Trek