dtinfo subtree dtinfogen

This commit is contained in:
Ulrich Wilkens
2012-10-14 17:13:07 +02:00
committed by Jon Trulson
parent 51b8929ebd
commit 07e886ba7c
45 changed files with 226 additions and 122 deletions

View File

@@ -25,12 +25,13 @@ XCOMM Campbell, CA 95008
XCOMM
XCOMM
DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
NormalCplusplusObjectRule()
INCLUDES=$(GLOBAL_INCLUDES) $(MMDB_INCLUDES) $(EXCEPTIONS_INCLUDES)
MMDB_DIR=../../mmdb
@@ -205,6 +206,8 @@ ALL_MMDB_OBJS = $(API_OBJS) $(BTREE_OBJS) \
#ifdef AIXArchitecture
Libs=$(ALL_MMDB_OBJS) $(DTSVCLIB) $(TTLIB) $(MATH_LIB)
#elif defined(LinuxArchitecture) || defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
Libs=$(MMDB_LIBS) $(DTSVCLIB) $(MTF_LIBRARIES) $(TTLIB) $(MATH_LIB)
#else
Libs=$(MMDB_LIBS) $(DTSVCLIB) $(TTLIB) $(MATH_LIB)
#endif

View File

@@ -47,7 +47,8 @@
*
*/
#include <iostream.h>
#include <iostream>
using namespace std;
#include <assert.h>
#include <string.h>
#include <stdlib.h>
@@ -91,7 +92,7 @@ main(int argc, char **argv)
dbgLevel = dbgInit();
try {
mtry {
if ( argc < 2 ) {
cerr << "Usage : valBase checkBase installBase\n";
@@ -167,7 +168,7 @@ main(int argc, char **argv)
// Now to check locators
iterator *it = checkBase->first(LOCATOR_SET_NAME, LOCATOR_CODE );
Iterator *it = checkBase->first(LOCATOR_SET_NAME, LOCATOR_CODE );
int DupLocFound=0;
@@ -204,7 +205,7 @@ main(int argc, char **argv)
exit (0);
}
catch ( mmdbException &, e )
mcatch ( mmdbException &, e )
{
debug(cerr, e );
abort();