[GRASS-dev] lots of link errors in trunk (OSX)

Colin Nielsen colin.nielsen at gmail.com
Sat Aug 29 13:23:56 EDT 2009


That seems to have done it, no errors reported for r38916, thanks Glynn.

-Colin

On Sat, Aug 29, 2009 at 12:41 PM, Glynn
Clements<glynn at gclements.plus.com> wrote:
>
> Glynn Clements wrote:
>
>> > Errors continue in windows, starting with lib/raster.
>>
>> Can you provide the actual errors, please?
>
> The issues with libintl_sprintf etc should be fixed by r38915.
>
> libintl.h defines printf() etc as macros which expand to the
> corresponding libintl_printf() etc functions. This is done so that you
> can use positional specifiers (e.g. "%2$s"), which aren't supported by
> MSVCRT's *printf functions.
>
> This feature is useful in localised messages, as the argument order is
> fixed in the code, but the order in which the arguments appear in the
> message may need to vary according to language.
>
> However, it means that anything including <libintl.h> (typically via
> <grass/glocale.h>) acquires a direct dependency upon libintl.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>


More information about the grass-dev mailing list