pkgsrc-WIP-review archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wip/ncc version 2.7 -> 2.8



On Sat, 18 Oct 2008 08:24:40 +0900, Marko Schütz 
<MarkoSchuetz%web.de@localhost> wrote:

> At Fri, 17 Oct 2008 16:16:15 -0500,
> Larson, Timothy E  wrote:
>>
>> On Friday, October 17, 2008 3:48 PM, MarkoSchuetz%web.de@localhost
>> <mailto:MarkoSchuetz%web.de@localhost> scribbled:
>>
>> > At Fri, 17 Oct 2008 14:27:07 -0500,
>> > Larson, Timothy E  wrote:
>> >> This does not build on Solaris 10.  First guess is because preproc.C
>> >> does not include strings.h, where rindex is declared.
>> >
>> > added that include. Please check again.
>>
>> Now builds on Solaris 10.  Advise checking on other platforms to make sure
>> that doesn't result in conflicts (i.e. the include may have to be
>> platform-conditional or something).
>
> Thanks for checking it so quickly.
>
> Can someone else check on different platforms?

Or instead of include strings.h, replace rindex with strrchr.
It should be defined in string.h and more portable.

-- 
"Of course I love NetBSD":-)
OBATA Akio / obache%users.sourceforge.net@localhost

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review


Home | Main Index | Thread Index | Old Index