Page MenuHome GnuPG

Libgpg-error:stdint.h in w32-gettext.c (w32)
Closed, ResolvedPublic

Description

I'm trying to compile Libgpg-error by Visual C++.
But stdint.h is not in Visual C++, so it is C99.

Please modify w32-gettext.c not to include stdint.h.

I suggest the following patch.

  • w32-gettext.c.orig 2006-11-25 07:16:10.000000000 +0900

+++ w32-gettext.c 2006-11-25 23:56:41.000000000 +0900
@@ -30,7 +30,11 @@
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
+#ifdef _MSC_VER
+#define uint32_t unsigned
+#else
#include <stdint.h>
+#endif

#include <gpg-error.h>

Details

Version
1.4

Event Timeline

iwm set Version to 1.4.
iwm added a subscriber: iwm.

We won't support that compiler. You need to maintained the required changes
yourself.

Hmm, I see.
I maintain myself, or I use compiled file by other person.

iwm claimed this task.

This can't be done any better, so closing the report.