Re: AC_C_CONST bug?



"Bill Pursell" <bill.pursell@xxxxxxxxx> writes:
Given a stock autoconfiscated project,
If I run configure with CFLAGS="-Wall -Werror", the
macro AC_C_CONST incorrectly determines
that my system doesn't support const because
the test code includes some unused variables
and the -Wall -Werror causes it to fail.

Well then, don't do that. A compiler warning is a hint that may be
helpful or complete nonsense, depending on what caused it. That's why
it is called 'warning' and not 'error'.
.



Relevant Pages

  • Re: How to initialize a TstringList
    ... > I get the following compiler warning ... If the TstringList .create were to fail, the L.free would execute on an ... the clear appears redundant since you've only just created the list. ... Rgds, ...
    (borland.public.delphi.language.objectpascal)
  • Re: Avoiding the warning of not using Exception variable in catch
    ... >acceptable that the method will fail. ... I have my try...catch setup as ... >I get a compiler warning that I am not using sEx. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Array pointers
    ... > results in a compiler warning). ... >> Your proposal would also fail. ... \__/ One sword keeps the other in the sheath. ...
    (comp.os.linux.development.apps)