bugGNU gettext - Bugs: bug #49901, Bad declaration of 'npgettext'...


You are not allowed to post comments on this tracker with your current authentication level.

bug #49901: Bad declaration of 'npgettext' and 'dnpgettext' in gettext.h

Submitted by:  Markus Gothe <nihilus>
Submitted on:  Wed 21 Dec 2016 01:10:05 PM UTC  
Category: Programmer interfaceSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Sat 06 Jan 2018 03:51:54 PM UTC, comment #2:

Yes, the manual, section "Using contexts for solving ambiguities", says "In a call of this macro, msgctxt and msgid must be string literals." And the comments in the gettext.h file tell the same thing.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Wed 21 Dec 2016 02:38:19 PM UTC, comment #1:

Never mind this! I didn't understood the manual. If not using hardcoded string literals this will not work which is described in the manual.

Markus Gothe <nihilus>
Wed 21 Dec 2016 01:10:05 PM UTC, original submission:

There is a bug here:


Msgctxt should be an argument on its own and thus have it be something like:


Markus Gothe <nihilus>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by haible (Posted a comment)
  • -unavailable- added by nihilus (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 06 Jan 2018 03:51:54 PM UTChaibleStatusNone=>Invalid
      Assigned toNone=>haible

    Back to the top

    Powered by Savane 3.1-cleanup1