can't use gettext functions

Bug #817136 reported by Sergio Costas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
valide
New
Undecided
Unassigned

Bug Description

When trying to compile a program that uses gettext, it fails with "/usr/include/glib-2.0/glib/gi18n-lib.h:29:2: error: #error You must
define GETTEXT_PACKAGE before including gi18n-lib.h. Did you forget to include config.h? ". I propose to add this little patch to automaticalle define that using the package name, by adding -X -D'GETTEXT_PACKAGE="project_name"' to valac invocation.

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :
Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

Sorry, this is the right patch (removed the stdout.printf statement).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.