summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-18 14:50:50 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-18 14:50:50 +0000
commit1ac1fdfecf2b49272aed30d2649551a6fa2dff7e (patch)
tree44ca9f5e6acb54a9d84d071ff381a33bff1daab5
parent7b0a89166040f4b1d53f19b343ab0bd4431690c8 (diff)
enable compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@13815 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/tex4htk/ChangeLog8
-rw-r--r--Build/source/texk/tex4htk/Makefile.am3
-rw-r--r--Build/source/texk/tex4htk/Makefile.in3
3 files changed, 12 insertions, 2 deletions
diff --git a/Build/source/texk/tex4htk/ChangeLog b/Build/source/texk/tex4htk/ChangeLog
index bb87d0e66ec..c13706d836d 100644
--- a/Build/source/texk/tex4htk/ChangeLog
+++ b/Build/source/texk/tex4htk/ChangeLog
@@ -1,3 +1,11 @@
+2009-06-18 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * Makefile.am (AM_CPPFLAGS, AM_CFLAGS): enable compiler warnings.
+
+ * t4ht.c: FIXME: this causes three 'might be used uninitialized'
+ warnings.
+ Given the complexity of the code I leave them for the maintainer.
+
2009-05-07 Peter Breitenlohner <peb@mppmu.mpg.de>
Adapt to TL2009 build system.
diff --git a/Build/source/texk/tex4htk/Makefile.am b/Build/source/texk/tex4htk/Makefile.am
index 183a4ca8e02..d70006b482e 100644
--- a/Build/source/texk/tex4htk/Makefile.am
+++ b/Build/source/texk/tex4htk/Makefile.am
@@ -6,7 +6,8 @@
ACLOCAL_AMFLAGS = -I ../../m4
INCLUDES = $(KPATHSEA_INCLUDES)
-AM_CPPFLAGS = -DUNIX -DKPATHSEA -DNeedFunctionPrototypes
+AM_CPPFLAGS = -DANSI -DKPATHSEA
+AM_CFLAGS = $(WARNING_CFLAGS)
bin_PROGRAMS = t4ht tex4ht
diff --git a/Build/source/texk/tex4htk/Makefile.in b/Build/source/texk/tex4htk/Makefile.in
index ea6f9842aea..0c20983479e 100644
--- a/Build/source/texk/tex4htk/Makefile.in
+++ b/Build/source/texk/tex4htk/Makefile.in
@@ -246,7 +246,8 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ACLOCAL_AMFLAGS = -I ../../m4
INCLUDES = $(KPATHSEA_INCLUDES)
-AM_CPPFLAGS = -DUNIX -DKPATHSEA -DNeedFunctionPrototypes
+AM_CPPFLAGS = -DANSI -DKPATHSEA
+AM_CFLAGS = $(WARNING_CFLAGS)
t4ht_SOURCES = t4ht.c
t4ht_DEPENDENCIES = $(KPATHSEA_DEPEND)
tex4ht_SOURCES = tex4ht.c