diff options
author | epetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423> | 2022-11-26 06:59:44 +0000 |
---|---|---|
committer | epetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423> | 2022-11-26 06:59:44 +0000 |
commit | 152d6555fb20ed2bf5d29a34a9f745b4b97e5f2f (patch) | |
tree | 48f5a8462c9b4d7ce0303661168057c65be76a41 /support/cpp/libcpp | |
parent | 8289326a018c5e62bc20c1987b5b492ef0512c8f (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/libcpp')
-rw-r--r-- | support/cpp/libcpp/lex.cc | 4 | ||||
-rw-r--r-- | support/cpp/libcpp/mkdeps.cc | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/support/cpp/libcpp/lex.cc b/support/cpp/libcpp/lex.cc index 38d05545e..7f5e44833 100644 --- a/support/cpp/libcpp/lex.cc +++ b/support/cpp/libcpp/lex.cc @@ -19,12 +19,12 @@ You should have received a copy of the GNU General Public License along with this program; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ -#include <map> // BUG -#include <iostream> // BUG #include "config.h" #include "system.h" #include "cpplib.h" #include "internal.h" +#include <map> +#include <iostream> #include <cassert> #define untested() ( std::cerr << "@@#\n@@@:"<< __FILE__ << ":"<< __LINE__ \ diff --git a/support/cpp/libcpp/mkdeps.cc b/support/cpp/libcpp/mkdeps.cc index 226a4811d..2fdec84b0 100644 --- a/support/cpp/libcpp/mkdeps.cc +++ b/support/cpp/libcpp/mkdeps.cc @@ -20,14 +20,14 @@ along with this program; see the file COPYING3. If not see You are forbidden to forbid anyone else to use, share and improve what you give them. Help stamp out software-hoarding! */ -#include <iostream> -#define untested() ( std::cerr << "@@#\n@@@:"<< __FILE__ << ":"<< __LINE__ \ - <<":" << __func__ << "\n" ) #include "config.h" #include "system.h" #include "mkdeps.h" #include "internal.h" +#include <iostream> +#define untested() ( std::cerr << "@@#\n@@@:"<< __FILE__ << ":"<< __LINE__ \ + <<":" << __func__ << "\n" ) /* Not set up to just include std::vector et al, here's a simple implementation. */ |