Define INCLUDE_* preprocessor symbols rather than including some
standard C++ headers directly.
Signed-off-by: Jose E. Marchesi <jemarch@gnu.org>
gcc/algol68/ChangeLog
* a68-parser-brackets.cc (INCLUDE_STRING): Define.
Do not include <string.
* a68-parser-bottom-up.cc (INCLUDE_STRING): Define.
Do not include <string>.
* a68-moids-diagnostics.cc (INCLUDE_STRING): Define.
Do not include <string>.
* a68-imports.cc (INCLUDE_STRING): Define.
Do not include <string>.
* a68-imports-archive.cc (INCLUDE_MAP): Define.
(INCLUDE_STRING): Likewise.
Do not include <string> nor <map>.
<http://www.gnu.org/licenses/>. */
#define INCLUDE_MEMORY
+#define INCLUDE_MAP
+#define INCLUDE_STRING
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "vec.h"
-#include <map>
-#include <string>
-
#include "a68.h"
<http://www.gnu.org/licenses/>. */
#define INCLUDE_MEMORY
+#define INCLUDE_STRING
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "common/common-target.h"
#include "dwarf2asm.h"
-#include <string>
-
#include "a68.h"
/* A few macros to aid parsing of module map strings below. */
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
+#define INCLUDE_STRING
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "a68.h"
#include "a68-pretty-print.h"
-#include <string>
-
/* Give accurate error message. */
const char *
- reduce a sub-phrase starting at a branch, implemented by 'reduce_branch'.
*/
+#define INCLUDE_STRING
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "options.h"
-#include <string>
-
#include "a68.h"
#include "a68-pretty-print.h"
<http://www.gnu.org/licenses/>. */
+#define INCLUDE_STRING
#include "config.h"
#include "system.h"
#include "coretypes.h"
-#include <string>
-
#include "a68.h"
#include "a68-pretty-print.h"