summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-05-26 19:14:40 +0200
committerJose <jose@zeroc.com>2017-05-26 19:14:40 +0200
commitc7f1b31bf2c9a0968745b30df7665ce1c36216fb (patch)
tree59cec554143bb8522b0a90db9cca3c3ef3a91541 /js
parentICE-7905 - more fixes for deprecated types (diff)
downloadice-c7f1b31bf2c9a0968745b30df7665ce1c36216fb.tar.bz2
ice-c7f1b31bf2c9a0968745b30df7665ce1c36216fb.tar.xz
ice-c7f1b31bf2c9a0968745b30df7665ce1c36216fb.zip
Fix (ICE-7923) - suppress deprecation warnings
Diffstat (limited to 'js')
-rw-r--r--js/test/Ice/operations/Test.ice4
-rw-r--r--js/test/Ice/optional/Test.ice2
-rw-r--r--js/test/Slice/escape/Key.ice2
3 files changed, 6 insertions, 2 deletions
diff --git a/js/test/Ice/operations/Test.ice b/js/test/Ice/operations/Test.ice
index cdc3ffeec66..18d7af12862 100644
--- a/js/test/Ice/operations/Test.ice
+++ b/js/test/Ice/operations/Test.ice
@@ -264,14 +264,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/js/test/Ice/optional/Test.ice b/js/test/Ice/optional/Test.ice
index ec08f154f3a..87472b7d454 100644
--- a/js/test/Ice/optional/Test.ice
+++ b/js/test/Ice/optional/Test.ice
@@ -9,6 +9,8 @@
#pragma once
+[["suppress-warning:deprecated"]]
+
module Test
{
diff --git a/js/test/Slice/escape/Key.ice b/js/test/Slice/escape/Key.ice
index 7d6615b0e00..4c27fa1b7ea 100644
--- a/js/test/Slice/escape/Key.ice
+++ b/js/test/Slice/escape/Key.ice
@@ -9,6 +9,8 @@
#pragma once
+[["suppress-warning:deprecated"]]
+
module await
{