summaryrefslogtreecommitdiff
path: root/support/cpp/gcc/gcc.cc
diff options
context:
space:
mode:
authorepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>2022-11-26 06:59:44 +0000
committerepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>2022-11-26 06:59:44 +0000
commit152d6555fb20ed2bf5d29a34a9f745b4b97e5f2f (patch)
tree48f5a8462c9b4d7ce0303661168057c65be76a41 /support/cpp/gcc/gcc.cc
parent8289326a018c5e62bc20c1987b5b492ef0512c8f (diff)
* support/cpp/gcc/gcc.cc,
support/cpp/gcc/opts.cc, support/cpp/gcc/opts-common.cc, support/cpp/gcc/prefix.cc, support/cpp/gcc/toplev.cc, support/cpp/libcpp/lex.cc, support/cpp/libcpp/mkdeps.cc, support/cpp/gcc/c-family/c-opts.cc, support/cpp/gcc/c-family/c-ppoutput.cc: move iostream header last to avoid inconsistent struct offsets and thus segfaults git-svn-id: http://svn.code.sourceforge.net/p/sdcc/code/trunk/sdcc@13752 4a8a32a2-be11-0410-ad9d-d568d2c75423
Diffstat (limited to 'support/cpp/gcc/gcc.cc')
-rw-r--r--support/cpp/gcc/gcc.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/cpp/gcc/gcc.cc b/support/cpp/gcc/gcc.cc
index 3b27f49cc..4737a7935 100644
--- a/support/cpp/gcc/gcc.cc
+++ b/support/cpp/gcc/gcc.cc
@@ -27,9 +27,6 @@ CC recognizes how to compile each input file by suffixes in the file names.
Once it knows which kind of compilation to perform, the procedure for
compilation is specified by a string called a "spec". */
-#include <iostream>
-#define untested() ( std::cerr << "@@#\n@@@:"<< __FILE__ << ":"<< __LINE__ \
- <<":" << __func__ << "\n" )
#include "config.h"
#include "system.h"
@@ -49,6 +46,9 @@ compilation is specified by a string called a "spec". */
#include "spellcheck.h"
#include <cassert>
+#include <iostream>
+#define untested() ( std::cerr << "@@#\n@@@:"<< __FILE__ << ":"<< __LINE__ \
+ <<":" << __func__ << "\n" )
// sdcpp
extern bool flag_wpa;