Commit 2ae5c785 by Per Bothner Committed by Per Bothner

input.h: Don't #include line-map.h.


	* input.h:  Don't #include line-map.h.  It may cause link problems
	with undefined linemap_line_start when line-map.h is included but
	line-map.o is not linked, as currently happens with gengtype on
	compilers that don't support inline.
	* toplev.c:  So we do have to explicitly #include line-map.h here.

From-SVN: r78185
parent 7c4d376d
2004-02-20 Per Bothner <per@bothner.com>
* input.h: Don't #include line-map.h. It may cause link problems
with undefined linemap_line_start when line-map.h is included but
line-map.o is not linked, as currently happens with gengtype on
compilers that don't support inline.
* toplev.c: So we do have to explicitly #include line-map.h here.
2004-02-20 Richard Henderson <rth@redhat.com>
* doc/invoke.texi: Add -Wvariadic-macros.
......
......@@ -22,8 +22,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#ifndef GCC_INPUT_H
#define GCC_INPUT_H
#include "line-map.h"
extern struct line_maps line_table;
/* The data structure used to record a location in a translation unit. */
......
......@@ -40,6 +40,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
# include <sys/times.h>
#endif
#include "line-map.h"
#include "input.h"
#include "tree.h"
#include "rtl.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment