> "jaharkes" == jaharkes <[EMAIL PROTECTED]> writes:
> This was solved by adding the -fno-exceptions flag.
^^
You mean `worked around' ?
Stefan "who happily works around problems whenever he can"
> | > "Magnus" == Magnus Ahltorp <[EMAIL PROTECTED]> writes:
> | > General note: please check for behaviour rather than instances. In
> | > this case: check if the compiler works with the -fno-exceptions flag,
> | > don't check for egcs.
>
> Done that, I wrote 2 macros for autoconf that test
[EMAIL PROTECTED] said:
| > "Magnus" == Magnus Ahltorp <[EMAIL PROTECTED]> writes:
| > General note: please check for behaviour rather than instances. In
| > this case: check if the compiler works with the -fno-exceptions flag,
| > don't check for egcs.
Done that, I wrote 2 macros for autoco
> "Magnus" == Magnus Ahltorp <[EMAIL PROTECTED]> writes:
> General note: please check for behaviour rather than instances. In
> this case: check if the compiler works with the -fno-exceptions flag,
> don't check for egcs.
Indeed. But in this specific case, I'd just question the usefulness of
> ps. Does anybody know how to detect egcs, or test whether we can use
> the -fno-exceptions flag, using autoconf?
General note: please check for behaviour rather than instances. In
this case: check if the compiler works with the -fno-exceptions flag,
don't check for egcs.
/Magnus
[EMAIL PRO
[EMAIL PROTECTED] ,in message <
>, wrote:
> ps. Does anybody know how to detect egcs, or test whether we can use
> the -fno-exceptions flag, using autoconf?
No, but maybe this will help:
frop:6 $ echo "int i;" > foo.c && if gcc -fno-exceptions foo.c; then echo true; else
echo f
if [ `gcc -v|grep egcs` != "" ]; EGCS=TRUE; fi
maybe? :D
Jason
On Mon, 8 Feb 1999 [EMAIL PROTECTED] wrote:
>
> [EMAIL PROTECTED] said:
> |
> | Do you already compile with -Wchar-subscript, or maybe that's
> | included in -Wall already?
> |
>
> I just checked, it is included in -Wall, now
[EMAIL PROTECTED] said:
|
| Do you already compile with -Wchar-subscript, or maybe that's
| included in -Wall already?
|
I just checked, it is included in -Wall, now we only need to continue on
getting all warnings out when we compile with -Wall.
Jan
ps. Does anybody know how to detect eg