[Libxmlplusplus-general] Re: Patch for libxml++0.14pre2
- From: Christophe de Vienne <cdevienne netcourrier com>
- To: thb net-bembel de
- Cc: libxmlplusplus-general lists sourceforge net
- Subject: [Libxmlplusplus-general] Re: Patch for libxml++0.14pre2
- Date: Wed, 20 Nov 2002 20:05:23 +0100
On Mercredi 20 Novembre 2002 18:47, you wrote:
> Christophe,
Hi Thomas
>
> we are using the libxml++ in the KMyMoney2 project since a few weeks.
> Yesterday, I switched from gcc 2.95 to gcc 3.2 and noticed, that the extra
>
> -I/usr/local/include
>
> created by 'xml++-config --cflags' causes warnings all over the place as
> gcc 3.2 knows /usr/local/include as a 'system include directory' and does
> not need it to be specified separate on the command line.
>
Thanks for your help.
We've just release 0.16 version which now supports pkg-config. The old
'xml++-config is still in use, but may disappear in a next release.
You will notice that the API evolved quite a bit in this release ;-)
> Please note my patch below, which fixes this problem. If you find another
> solution to the problem, please feel free to dump it. Otherwise, I hope it
> helps to make your software working w/o warnings in more environments.
>
> ----%<----- ----%<----- ----%<----- ----%<----- ----%<-----
> --- xml++-config.in 2002-10-13 15:52:05.000000000 +0200
> +++ xml++-config.in.new 2002-11-20 12:37:37.000000000 +0100
> @@ -53,7 +53,9 @@
> ;;
>
> --cflags)
> - echo -I includedir@
> + if [ x includedir@ != x/usr/local/include ]; then
> + echo -I includedir@
> + fi
> ;;
>
> --libs)
> ----%<----- ----%<----- ----%<----- ----%<----- ----%<-----
>
This will indeed correct the problem when using xml++-config, but not when
compiling the lib itself... I'll see what we can do about it.
Cheers,
Christophe
PS: there is now a mailing-list that you can use if you have
questions/remarks/comments.
If you ever have other patchs, use the patch manager on sourceforge.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]