From 8d3f13df5dcfde0a0c26a79e700a8c7bdc5b5415 Mon Sep 17 00:00:00 2001 From: "fergus.henderson" Date: Thu, 18 Feb 2010 23:40:11 +0000 Subject: Apply patch from madkinder: use #include rather than #import in C++ test case. This fixes a test case failure with gcc 4.4.1, which warns about use of #import. (The use of #import was an accidental cut-and-paste error resulting from copying the C++ test case from the Objective-C/C++ test case.) git-svn-id: http://distcc.googlecode.com/svn/trunk@714 01de4be4-8c4a-0410-9132-4925637da917 --- test/testdistcc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/testdistcc.py b/test/testdistcc.py index 5ce4ef8..82c8996 100755 --- a/test/testdistcc.py +++ b/test/testdistcc.py @@ -1073,8 +1073,8 @@ class CPlusPlus_Case(LanguageSpecific_Case): def source(self): return """ -#import -#import "testhdr.h" +#include +#include "testhdr.h" int main(void) { std::cout << MESSAGE << std::endl; -- cgit v1.2.1