can't use gettext functions

Bug #817136 reported by Sergio Costas on 2011-07-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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.

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

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

Other bug subscribers