[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: how do I fix this header conflict?
From: Michael Matz <matz () kde ! org>
Date: 2003-07-01 7:23:49
[Download RAW message or body]
Hi,
On Mon, 30 Jun 2003, Benjamin Reed wrote:
> Attached is a patch to handle darwin as a special case in the
> $kde_use_warnings check, and to change "-pedantic-errors" to "-Werror
> -Wmissing-prototypes". Does this look alright?
No. The case you inserted into in the second hunk looks currently like:
case $host in
*-*-linux-gnu) ... CXXFLAGS=... ;;
esac
CXXFLAGS="... $CXXFLAGS"
You changed it into:
case $host in
*-*-linux-gnu) ... CXXFLAGS=... ;;
*-darwin*)
CXXFLAGS="-Wall -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
*)
CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
esac
This isn't equivalent obviously. You want to insert a _second_ switch
differeing between darwin and rest only.
Ciao,
Michael.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic