THRIFT-1552 Thrift (cpp) include files shouldn't require adding "thrift" to the compi...
authorRoger Meier <roger@apache.org>
Fri, 13 Apr 2012 09:13:13 +0000 (09:13 +0000)
committerRoger Meier <roger@apache.org>
Fri, 13 Apr 2012 09:13:13 +0000 (09:13 +0000)
roger: some additional fixes

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325677 13f79535-47bb-0310-9956-ffa450edef68

lib/cpp/Makefile.am
lib/cpp/src/thrift/async/TAsyncProcessor.h
lib/cpp/src/thrift/qt/TQIODeviceTransport.cpp [changed mode: 0644->0755]
lib/cpp/src/thrift/transport/TShortReadTransport.h [changed mode: 0644->0755]
lib/cpp/test/AllProtocolTests.tcc [changed mode: 0644->0755]
test/cpp/src/StressTest.cpp
test/cpp/src/StressTestNonBlocking.cpp

index 1eec8ab..21480ab 100644 (file)
@@ -101,7 +101,7 @@ libthriftnb_la_SOURCES = src/thrift/server/TNonblockingServer.cpp \
 
 libthriftz_la_SOURCES = src/thrift/transport/TZlibTransport.cpp
 
-libthriftqt_la_MOC = src/qt/moc_TQTcpServer.cpp
+libthriftqt_la_MOC = src/thrift/qt/moc_TQTcpServer.cpp
 libthriftqt_la_SOURCES = $(libthriftqt_la_MOC) \
                          src/thrift/qt/TQIODeviceTransport.cpp \
                          src/thrift/qt/TQTcpServer.cpp
index 593ea69..e68c550 100644 (file)
@@ -23,7 +23,7 @@
 #include <tr1/functional>
 #include <boost/shared_ptr.hpp>
 #include <thrift/protocol/TProtocol.h>
-#include <TProcessor.h>
+#include <thrift/TProcessor.h>
 
 namespace apache { namespace thrift { namespace async {
 
old mode 100644 (file)
new mode 100755 (executable)
index 9344e40..3a3e222
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-#include "TQIODeviceTransport.h"
+#include <thrift/qt/TQIODeviceTransport.h>
 
-#include <thrift/QAbstractSocket>
+#include <QAbstractSocket>
 #include <QIODevice>
 
 #include <thrift/transport/TBufferTransports.h>
old mode 100644 (file)
new mode 100755 (executable)
index b5cdc7d..8def354
@@ -20,7 +20,7 @@
 #ifndef _THRIFT_TRANSPORT_TSHORTREADTRANSPORT_H_
 #define _THRIFT_TRANSPORT_TSHORTREADTRANSPORT_H_ 1
 
-#include <thrift/cstdlib>
+#include <cstdlib>
 
 #include <thrift/transport/TTransport.h>
 #include <thrift/transport/TVirtualTransport.h>
old mode 100644 (file)
new mode 100755 (executable)
index 82f8738..9155da8
@@ -20,7 +20,7 @@
 #ifndef _THRIFT_TEST_GENERICPROTOCOLTEST_TCC_
 #define _THRIFT_TEST_GENERICPROTOCOLTEST_TCC_ 1
 
-#include <thrift/limits>
+#include <limits>
 
 #include <thrift/protocol/TBinaryProtocol.h>
 #include <thrift/transport/TBufferTransports.h>
index 5b0b359..7da3db0 100755 (executable)
@@ -30,7 +30,7 @@
 #include <thrift/transport/TSocket.h>
 #include <thrift/transport/TTransportUtils.h>
 #include <thrift/transport/TFileTransport.h>
-#include <TLogging.h>
+#include <thrift/TLogging.h>
 
 #include "Service.h"
 
index 4b9e29e..c230c84 100755 (executable)
@@ -31,7 +31,7 @@
 #include <thrift/transport/TSocket.h>
 #include <thrift/transport/TTransportUtils.h>
 #include <thrift/transport/TFileTransport.h>
-#include <TLogging.h>
+#include <thrift/TLogging.h>
 
 #include "Service.h"