[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testing for unknown flags in different compilers
From: |
Carsten Heinrici |
Subject: |
Re: Testing for unknown flags in different compilers |
Date: |
Fri, 21 Feb 2014 23:01:15 +0100 |
User-agent: |
K-9 Mail for Android |
Hi Julie
>>> I have been working on a changes whereby an autoconf
>>> user can invoke a macro like
>>>
>>> AC_WARN_ADD([-Wextra])
The point is the portability. Your flags (-Wextra) depend on the actual
compiler. This js against the philosophy behind autoconf, which tries to
abstract from it.
If wanted, a developper always can add additional specific compiler flags
during runtime by specifying them via CFLAGS on command line.
What would be required is a general macro AC_EXTRA_WARNINGS without arguments
which could resolve to the actually current arguments of the tool.
Carsten
- Re: Testing for unknown flags in different compilers, David A. Wheeler, 2014/02/19
- Re: Testing for unknown flags in different compilers, David A. Wheeler, 2014/02/20
- Re: Testing for unknown flags in different compilers, David A. Wheeler, 2014/02/21
- Re: Testing for unknown flags in different compilers, David A. Wheeler, 2014/02/21
- Re: Testing for unknown flags in different compilers, David A. Wheeler, 2014/02/21