THRIFT-1907 Compiling namespace and sub-namespace directives for unrecognized generators should only be a warning
Patch: Andrew Cox
diff --git a/test/ThriftTest.thrift b/test/ThriftTest.thrift
index 2be53fa..be000b6 100644
--- a/test/ThriftTest.thrift
+++ b/test/ThriftTest.thrift
@@ -35,6 +35,12 @@
namespace php ThriftTest
namespace delphi Thrift.Test
namespace cocoa ThriftTest
+
+// Presence of namespaces and sub-namespaces for which there is
+// no generator should compile with warnings only
+namespace noexist ThriftTest
+namespace cpp.noexist ThriftTest
+
namespace * thrift.test
/**
@@ -368,4 +374,4 @@
struct StructB {
1: optional StructA aa;
2: required StructA ab;
-}
\ No newline at end of file
+}