Hello Tommi,
It appears that compiling tntdb 1.0.0 with cxxtools 1.4.6 and tntnet
1.6.1 that tntdb 1.0.0 is missing the definition of size_t when
compiled with Sun Studio 12 on Solaris 10.
After compiling and installing cxxtool and tntnet from subversion,
then tntdb from subversion compiles fine with the following diffs:
goanna% svn diff tntdb/src/oracle/blob.cpp
Index: tntdb/src/oracle/blob.cpp
===================================================================
--- tntdb/src/oracle/blob.cpp (revision 121)
+++ tntdb/src/oracle/blob.cpp (working copy)
@@ -18,6 +18,7 @@
#include <tntdb/oracle/blob.h>
#include <cxxtools/log.h>
+#include <string.h>
log_define("tntdb.oracle.blob")
goanna% svn diff tntdb
Index: tntdb/src/blob.cpp
===================================================================
--- tntdb/src/blob.cpp (revision 121)
+++ tntdb/src/blob.cpp (working copy)
@@ -48,6 +48,7 @@
}
_size = len;
}
+ return _data;
}
IBlob* BlobImpl::create() const
Index: tntdb/src/oracle/blob.cpp
===================================================================
--- tntdb/src/oracle/blob.cpp (revision 121)
+++ tntdb/src/oracle/blob.cpp (working copy)
@@ -18,6 +18,7 @@
#include <tntdb/oracle/blob.h>
#include <cxxtools/log.h>
+#include <string.h>
log_define("tntdb.oracle.blob")
goanna%
My diff to tntdb/src/blob.cpp is just a guess.
I will run some tests.
Thanks, Mark
--
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general