From 64008915ced5992f675b4d7a99abf62fc69b5bd6 Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Thu, 26 May 2005 21:25:27 +0000 Subject: [PATCH] obj-c++.exp (obj-c++_target_compile): Declare global variable, remove extraneous semicolons. * lib/obj-c++.exp (obj-c++_target_compile): Declare global variable, remove extraneous semicolons. From-SVN: r100229 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/obj-c++.exp | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8f6bd148f65..41a28015db1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-05-26 Janis Johnson + + * lib/obj-c++.exp (obj-c++_target_compile): Declare global variable, + remove extraneous semicolons. + 2005-05-26 Ziemowit Laski * obj-c++.dg/comp-types-12.mm: New. diff --git a/gcc/testsuite/lib/obj-c++.exp b/gcc/testsuite/lib/obj-c++.exp index 2b7c944b557..e88e011bb2c 100644 --- a/gcc/testsuite/lib/obj-c++.exp +++ b/gcc/testsuite/lib/obj-c++.exp @@ -284,11 +284,12 @@ proc obj-c++_init { args } { # proc obj-c++_target_compile { source dest type options } { - global tmpdir; + global tmpdir + global srcdir global gpp_compile_options global gluefile wrap_flags - global ALWAYS_OBJCXXFLAGS; - global OBJCXX_UNDER_TEST; + global ALWAYS_OBJCXXFLAGS + global OBJCXX_UNDER_TEST lappend options "libs=-lobjc" -- 2.30.2