[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 04/04: offload: Avoid using '_' as a 'match' pattern.
From: |
Ludovic Courtès |
Subject: |
Re: 04/04: offload: Avoid using '_' as a 'match' pattern. |
Date: |
Wed, 03 May 2017 16:18:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Mark H Weaver <address@hidden> skribis:
> address@hidden (Ludovic Courtès) writes:
>> In hindsight, it would have been wiser to just rename ‘_’ in (guix ui)
>> to something else, like ‘G_’. Well, it’s not too late. Should we do
>> that? Thoughts?
>
> I agree that renaming '_' in (guix ui) is the better approach.
Done in 69daee23af49aeafcb1d250c90860f9253da719e.
The downside is that I had to disable -Wformat, which reported too many
“non-literal format string”: -Wformat assumes that the ‘gettext’
procedure can be called ‘_’, and otherwise emits that warning.
We should do something on the Guile side to fix this, perhaps by
allowing users to annotate identifiers as being gettext-like procedures.
Thoughts?
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: 04/04: offload: Avoid using '_' as a 'match' pattern.,
Ludovic Courtès <=