summaryrefslogtreecommitdiff
path: root/objective-c
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-05-29 11:07:35 +0200
committerJose <jose@zeroc.com>2017-05-29 11:07:35 +0200
commit6e34ff0821df068dc84f29876b307a4458237b12 (patch)
tree844d613b6b75fb3cedd5a6d5dd54b13c1aa7a819 /objective-c
parentUpdate favicon (diff)
downloadice-6e34ff0821df068dc84f29876b307a4458237b12.tar.bz2
ice-6e34ff0821df068dc84f29876b307a4458237b12.tar.xz
ice-6e34ff0821df068dc84f29876b307a4458237b12.zip
Fix (ICE-7923) - suppress deprecation warnings
Diffstat (limited to 'objective-c')
-rw-r--r--objective-c/test/Ice/operations/OperationsTest.ice4
-rw-r--r--objective-c/test/Ice/optional/OptionalTest.ice2
-rw-r--r--objective-c/test/Ice/stream/StreamTest.ice3
3 files changed, 5 insertions, 4 deletions
diff --git a/objective-c/test/Ice/operations/OperationsTest.ice b/objective-c/test/Ice/operations/OperationsTest.ice
index 6029218c450..0186627b3b7 100644
--- a/objective-c/test/Ice/operations/OperationsTest.ice
+++ b/objective-c/test/Ice/operations/OperationsTest.ice
@@ -308,14 +308,14 @@ interface MyClass
struct MyStruct1
{
string tesT; // Same name as the enclosing module
- MyClass myClass; // Same name as an already defined class
+ MyClass* myClass; // Same name as an already defined class
string myStruct1; // Same name as the enclosing struct
}
class MyClass1
{
string tesT; // Same name as the enclosing module
- MyClass myClass; // Same name as an already defined class
+ MyClass* myClass; // Same name as an already defined class
string myClass1; // Same name as the enclosing class
}
diff --git a/objective-c/test/Ice/optional/OptionalTest.ice b/objective-c/test/Ice/optional/OptionalTest.ice
index 339c33d579c..b69e2d85aec 100644
--- a/objective-c/test/Ice/optional/OptionalTest.ice
+++ b/objective-c/test/Ice/optional/OptionalTest.ice
@@ -9,7 +9,7 @@
#pragma once
-[["cpp:include:list"]]
+[["cpp:include:list", "suppress-warning:deprecated"]]
["objc:prefix:TestOptional"]
module Test
diff --git a/objective-c/test/Ice/stream/StreamTest.ice b/objective-c/test/Ice/stream/StreamTest.ice
index 2d4c00391be..55fc031f55c 100644
--- a/objective-c/test/Ice/stream/StreamTest.ice
+++ b/objective-c/test/Ice/stream/StreamTest.ice
@@ -22,6 +22,7 @@ enum MyEnum
enum3
}
+interface MyInterface;
class MyClass;
["cpp:comparable"] struct SmallStruct
@@ -35,7 +36,7 @@ class MyClass;
double d;
string str;
MyEnum e;
- MyClass* p;
+ MyInterface* p;
}
["cpp:class"] struct ClassStruct