Re: 64bit format strings
- From: Matthias Clasen <matthias clasen gmail com>
- To: Stefan Westerfeld <stefan space twc de>
- Cc: gtk-devel-list gnome org
- Subject: Re: 64bit format strings
- Date: Fri, 6 Jan 2006 15:35:08 -0500
On 1/6/06, Stefan Westerfeld <stefan space twc de> wrote:
>
> (1) Take no care that gint64 is defined by glib-2.0 as long long on
> 32-bit platforms and as long on 64-bit platforms. This generates
> compiler warnings on 64bit machines like Linux on AMD64.
>
> (2) Use glib's macros for formatting things. The code is less readable,
> but works.
>
> (3) Use i18n, without using glib's macros: works, but generates the same
> warnings on 64-bit platforms like Linux on AMD64 as (1).
>
> (4) Use i18n and glib's macros: breaks due to xgettext, which cannot
> deal with preprocessor string concatenation. No internalization is
> performed.
>
Does xgettext handle the PRI... macros which C99 has for the same purpose ?
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]