[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with MSVC and test for -g

From: Werner LEMBERG
Subject: problem with MSVC and test for -g
Date: Thu, 27 Nov 2003 08:41:48 +0100 (CET)

I'm forwarding a bug report of Jeff Conrad regarding autoconf 2.59:

> Test for 'g' Option
> -------------------
> The test for the 'g' option to the C and C++ compilers succeeds,
> even though cl doesn't accept the 'g' option.  MSVC succeeds in
> compiling the file, but gives the following output:
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
> Command line warning D4002 : ignoring unknown option '-g'
> I don't claim to fully understand the test, but it seems that evaluating
>     ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
> should be the place to catch it.  The second test is never performed,
> however, because ac_c_werror_flag is not set.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]