Mail Archives: djgpp/2002/10/27/11:46:31
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote in
news:Pine DOT SUN DOT 3 DOT 91 DOT 1021027161818 DOT 3459A-100000 AT is
>> I know about __GNUC__, __DJGPP__, are there more informations like
>> this ?
> __DJGPP_MINOR__ might also be of interest.
> What other info are you interested in? Is it only versions of various
> tools or something else?
Currenlty - only version informations to be included to my programs.
Some guestions that I encounter reading docs :
<cit>
`__USING_SJLJ_EXCEPTIONS__'
This macro is defined, with value 1, if the compiler uses the old
mechanism based on `setjmp' and `longjmp' for exception handling.
</cit>
what - is the new mechanism ?
<cit>
Another approach is to use the predefined macros to calculate a
single number, then compare that against a threshold:
#define GCC_VERSION (__GNUC__ * 10000 \
+ __GNUC_MINOR__ * 100 \
+ __GNUC_PATCHLEVEL__)
...
/* Test for GCC > 3.2.0 */
#if GCC_VERSION > 30200
</cit>
GNUC ver. i s stored in 'float' version, like :
3.00.00
after big path:
3.00.50
after small path :
3.00.51
OR :
3.0.0
patch
3.0.1
path
3.0.2
etc ?
--
Rafał 'Raf256' Maj
http://www.raf256.com
- Raw text -