Re: Compiler flags

1999-02-09 Thread Stefan Monnier
> "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"

Re: Compiler flags

1999-02-09 Thread Troy Benjegerdes
> | > "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

Re: Compiler flags

1999-02-09 Thread jaharkes
[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

Re: Compiler flags

1999-02-08 Thread Stefan Monnier
> "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

Re: Compiler flags

1999-02-08 Thread Magnus Ahltorp
> 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

Re: Compiler flags

1999-02-08 Thread thoth
[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

Re: Compiler flags

1999-02-08 Thread Jason Duerstock
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

Re: Compiler flags

1999-02-08 Thread jaharkes
[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