After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 317444 - imime.c: GETTEXT_PACKAGE is not defined.
imime.c: GETTEXT_PACKAGE is not defined.
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.8.x
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-09-28 15:43 UTC by Kazuki Iwamoto
Modified: 2005-09-28 16:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2005-09-28 15:43:15 UTC
Please describe the problem:
When imime.c is compiled, GETTEXT_PACKAGE is used in glib\gi18n-lib.h before
defined.
So <config.h> should be included like other im*.c files.

Steps to reproduce:
1. compile imime.c

Actual results:
Following message is displayed. (Visual C++ 6.0)
gi18n-lib.h(27) : fatal error C1189: #error :  You must define GETTEXT_PACKAGE
before including gi18n-lib.h.

Expected results:
Add #include <config.h>.

Does this happen every time?
every time

Other information:
Comment 1 Tor Lillqvist 2005-09-28 16:03:37 UTC
Thanks, fixed in CVS:

2005-09-28  Tor Lillqvist  <tml@novell.com>

	* modules/input/imime.c: Include <config.h>. (#317444, Kazuki
	Iwamoto)