[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Specifying AM_CPPFLAGS from within configure.ac
From: |
Andreas Schwab |
Subject: |
Re: Specifying AM_CPPFLAGS from within configure.ac |
Date: |
Mon, 06 Jun 2005 15:12:48 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
Jirka Hanika <address@hidden> writes:
> For example I'll try to upgrade the "unused variable" warning avoidance
> code to something like
>
> if (((int)argv) * ((int)argv) < 0 || argc < 0) printf("");
conftest.c: In function ‘main’:
conftest.c:5: warning: cast from pointer to integer of different size
conftest.c:5: warning: cast from pointer to integer of different size
conftest.c:5: warning: zero-length printf format string
conftest.cc: In function ‘int main(int, char**)’:
conftest.cc:5: error: cast from ‘char**’ to ‘int’ loses precision
conftest.cc:5: error: cast from ‘char**’ to ‘int’ loses precision
conftest.cc:5: warning: zero-length printf format string
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."