[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] removing -Wno-unused-result on gcc < 4.4
From: |
grischka |
Subject: |
Re: [Tinycc-devel] removing -Wno-unused-result on gcc < 4.4 |
Date: |
Thu, 15 Nov 2012 14:53:20 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Milutin Jovanović wrote:
I just committed a fix where the -Wno-unused-result is added only on gcc
>= 4.4. Without it, the build is broken on systems with older compilers.
fix:
http://repo.or.cz/w/tinycc.git/commit/e79c3533ecefd004daad8a27333582b2dad7f0b0
I'd suggest to keep the gcc version checks in one single place
(i.e. configure).
Also, instead of abstract
GCCGREATERTHEN44
(btw. it's "greater th_A_n") maybe just call it
GCC_SUPPORTS_W_USUSED_RESULT
--- grischka