[Kde-pim] Re: Grantlee 0.1.9 fails to build on FreeBSD due to strings.h

Stephen Kelly steveire at gmail.com
Sun Jul 31 22:50:25 BST 2011


Stephen Kelly wrote:

> Raphael Kubo da Costa wrote:
> 
>> Hey there,
>> 
>> As this is a build issue, I figured out it'd be better to send it here
>> than filing a bug report.
>> 
>> Currently, grantlee fails to build on FreeBSD because it has a header
>> called strings.h and its path is added to the build with -I. It turns
>> out that at some point, string.h is included, and on FreeBSD it usually
>> includes strings.h, which is a POSIX.1 header. However, since
>> -I${SOURCEDIR}/templates/defaultfilters was passed to the compiler, it
>> is searched first and the wrong, local header is included instead.
>> 
> 
> Thanks for letting me know. There have been several problems on solaris
> and bsd (such as with exception.h too). I'll try to make an RC for the
> next release with the fixes tomorrow.

The issue regarding exception.h was this one which now has a patch in the 
0.1 branch:

https://bugs.kde.org/show_bug.cgi?id=276425

I looked for instances of strings.h being included and only found them in 
the same directory as the file strings.h, which means that the correct one 
should be found.

I guess the actual issue with that file is slightly different to the issue 
with exception.h? Can you give more information about the build failure?

Thanks,

Steve.



_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list