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
This commit is contained in:
parent
7c4d376d4f
commit
2ae5c78565
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
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"
|
||||
|
|
Loading…
Add table
Reference in a new issue