>>>>> "Assar" == Assar Westerlund <[EMAIL PROTECTED]> writes:

Assar> Mo DeJong <[EMAIL PROTECTED]> writes:
>> Perhaps this is a silly idea, but why don't you just run the
>> compiler without the -g flag to make sure that it created a
>> conftest.o file, and then run with the -g flag but check that the
>> produced conftest.o is larger than the first one.

Assar> Yes, but if we're just testing if the compiler supports `-g',
Assar> why should we need to test the size of the generated file?
Assar> Can't we just run `cc -g' and see if it produces an object
Assar> file?

Agreed.  This is my own opinion too.  I think that Alexandre and Mo
are trying to really find out if it is really useful, since it is
likely that if it is not useful, it will issue a warning, which is
probably what they want to avoid.

Personally, I don't think Autoconf is here to avoid warnings, its
enemies are errors, and just errors.  I would feel much more
comfortable with just checking that, yes, it works, without paying
attention to the warnings.

I suppose their motivation is that maintainers might hear complaints
about these warnings, which would be unfair, indeed.  I'm not in a
position to judge whether this would really happen or not.

Reply via email to