It seems that in some configurations, the glthread headers can
include Windows headers which define macros that can conflict
with the libcdecl headers.
As the damage appears to be isolated to the headers, re-ordering
the includes appears to be sufficient to avoid any problems, at
least within the library.
+Release 1.1a:
+ * Various bug fixes and improvements.
+
Release 1.1:
* Error messages are no longer printed by libcdecl.
* Various bug fixes and improvements.
Release 1.1:
* Error messages are no longer printed by libcdecl.
* Various bug fixes and improvements.
dnl There is NO WARRANTY, to the extent permitted by law.
AC_PREREQ([2.68])
dnl There is NO WARRANTY, to the extent permitted by law.
AC_PREREQ([2.68])
-AC_INIT([cdecl99], [1.1], [nbowler@draconx.ca])
+AC_INIT([cdecl99], [1.1a], [nbowler@draconx.ca])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects dist-xz])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects dist-xz])
#include <assert.h>
#include <stdarg.h>
#include <assert.h>
#include <stdarg.h>
-#include <glthread/lock.h>
-#include <glthread/tls.h>
-
#include "cdecl.h"
#include "cdecl-internal.h"
#include "cdecl.h"
#include "cdecl-internal.h"
+#include <glthread/lock.h>
+#include <glthread/tls.h>
+
gl_once_define(static, tls_initialized);
static gl_tls_key_t tls_key;
gl_once_define(static, tls_initialized);
static gl_tls_key_t tls_key;
#include <config.h>
#include <stdio.h>
#include <assert.h>
#include <config.h>
#include <stdio.h>
#include <assert.h>
-#include <glthread/lock.h>
#include "cdecl-internal.h"
#include "cdecl-internal.h"
+#include <glthread/lock.h>
+
static void initialize(void)
{
bindtextdomain(PACKAGE, LOCALEDIR);
static void initialize(void)
{
bindtextdomain(PACKAGE, LOCALEDIR);