[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Missing include library, or misplaced header: stdbool.h
From: |
Paul Hilfinger |
Subject: |
Missing include library, or misplaced header: stdbool.h |
Date: |
Fri, 30 Jan 2004 16:04:05 -0800 |
When stdbool.h has to be generated, it is placed in
BUILD-DIRECTORY/lib, but that directory is not in the include path in
src or lib. The following patch would fix the problem, but I don't
know what was really intended, and I don't quite see how this problem
could have slipped by, so perhaps *I* am missing something.
Comments?
Paul Hilfinger
2004-01-30 Paul Hilfinger <address@hidden>
* src/Makefile.am (INCLUDES): Include $(top_builddir)/lib, since
at least one header sometimes goes there.
* lib/Makefile.am (INCLUDES): Ditto.
Index: bison-1_5.80/src/Makefile.am
--- bison-1_5.80/src/Makefile.am Sun, 11 Jan 2004 17:33:13 -0800 hilfingr
(glrbison/b/11_Makefile.a 1.1.1.4.1.1.1.1.1.8 644)
+++ bison-1_5.80(w)/src/Makefile.am Fri, 30 Jan 2004 15:34:25 -0800 hilfingr
(glrbison/b/11_Makefile.a 1.1.1.4.1.1.1.1.1.8 644)
@@ -24,6 +24,7 @@ AM_YFLAGS = "-dv"
# config.h is in build/.
INCLUDES = -I$(top_builddir) \
+ -I$(top_builddir)/lib \
-I$(top_srcdir)/lib
LDADD = ../lib/libbison.a $(LIBINTL)
Index: bison-1_5.80/lib/Makefile.am
--- bison-1_5.80/lib/Makefile.am Sat, 28 Jun 2003 03:55:24 -0700 hilfingr
(glrbison/c/12_Makefile.a 1.13 644)
+++ bison-1_5.80(w)/lib/Makefile.am Fri, 30 Jan 2004 15:33:38 -0800 hilfingr
(glrbison/c/12_Makefile.a 1.13 644)
@@ -24,7 +24,8 @@ noinst_LIBRARIES = libbison.a
# config.h is in build/., and system.h is in src/src/.
INCLUDES = -I$(top_builddir) \
-I$(top_srcdir)/src \
- -I$(top_srcdir)/lib
+ -I$(top_srcdir)/lib \
+ -I.
liby_a_SOURCES = main.c yyerror.c
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Missing include library, or misplaced header: stdbool.h,
Paul Hilfinger <=