You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Ilya Kuznetsov <wo...@gmail.com> on 2011/01/28 11:47:34 UTC

C++ lib: compile error: missing include statement

Hello!

There are assert calls in /lib/cpp/src/transport/TBufferTransports.h
and no included cassert.h.
Without the patch I get a compile error on my system.

--- a/lib/cpp/src/transport/TBufferTransports.h
+++ b/lib/cpp/src/transport/TBufferTransports.h
@@ -20,6 +20,7 @@
 #ifndef _THRIFT_TRANSPORT_TBUFFERTRANSPORTS_H_
 #define _THRIFT_TRANSPORT_TBUFFERTRANSPORTS_H_ 1

+#include <cassert>
 #include <cstring>
 #include "boost/scoped_array.hpp"


--
WBR,
Ilya Kuznetsov.