diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-08 09:55:02 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-08 09:55:02 +0000 |
commit | 953bee7c4a084245ae19ffb3b56e8a4685548a36 (patch) | |
tree | c3625a7f0b72fa3e11b37afa071a9e7ed38fa163 /gcc/fortran/gfortran.h | |
parent | 4a061351281bf2258de4d9e84b3bade51567983e (diff) | |
download | gcc-953bee7c4a084245ae19ffb3b56e8a4685548a36.zip gcc-953bee7c4a084245ae19ffb3b56e8a4685548a36.tar.gz gcc-953bee7c4a084245ae19ffb3b56e8a4685548a36.tar.bz2 |
gfortran.h: Do not include coretypes.h here.
* gfortran.h: Do not include coretypes.h here.
Make it an error to include this before coretypes.h
* openmp.c: Include coretypes.h.
* interface.c: Likewise.
* intrinsic.c: Likewise.
* symbol.c: Likewise.
* class.c: Likewise.
* decl.c: Likewise.
* matchexp.c: Likewise.
* dump-parse-tree.c: Likewise.
* array.c: Likewise.
* constructor.c: Likewise.
* error.c: Likewise.
* data.c: Likewise.
* expr.c: Likewise.
* module.c: Likewise.
* scanner.c: Likewise.
* bbt.c: Likewise.
* io.c: Likewise.
* frontend-passes.c: Likewise.
* resolve.c: Likewise.
* st.c: Likewise.
* target-memory.c: Likewise.
* match.c: Likewise.
* arith.c: Likewise.
* parse.c: Likewise.
* check.c: Likewise.
* dependency.c: Likewise.
* primary.c: Likewise.
* misc.c: Likewise.
* simplify.c: Likewise.
From-SVN: r189357
Diffstat (limited to 'gcc/fortran/gfortran.h')
-rw-r--r-- | gcc/fortran/gfortran.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h index caa23bd..6d75e63 100644 --- a/gcc/fortran/gfortran.h +++ b/gcc/fortran/gfortran.h @@ -29,13 +29,16 @@ along with GCC; see the file COPYING3. If not see multiple header files. Besides, Microsoft's winnt.h was 250k last time I looked, so by comparison this is perfectly reasonable. */ +#ifndef GCC_CORETYPES_H +#error "gfortran.h must be included after coretypes.h" +#endif + /* Declarations common to the front-end and library are put in libgfortran/libgfortran_frontend.h */ #include "libgfortran.h" #include "intl.h" -#include "coretypes.h" #include "input.h" #include "splay-tree.h" |