www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - Berkeley DB & ZINC

I need a little help with this. I had the code working in a standalone 
little application, compiled, linked, and ran fine.

I'm including:

#include <zaf.hpp>	// from windriver
#include <db_cxx.h> 	// from sleepycat
#include "../datadefinition.h" // from me....this includes only <string>

I know you all don't have enough information (actually, to much) but if 
I could be pointed in a direction it would help!!!!

When I cut the code out and stuck it into a ZINC test app I started 
getting this following message....(see below)

Thanks In Advance.....
Michael

ZMAKE version 1.0  Copyright (c) 1998, Zinc Software Incorporated

sc -c -Ic:\zinc\include -Ab -Ae -mn -WA -S -g -c 
-ocreatedata\createtable.obw createdata\createtable.cpp

__STL_TEMPLATE_NULL struct __type_traits<int> {
                                               ^
C:\DM\BIN\..\stl\type_traits.h(158) : Error: '?$__type_traits H' is 
already defined
};
^
C:\DM\BIN\..\stl\type_traits.h(164) : Error: identifier or '( declarator 
)' expected
__STL_TEMPLATE_NULL struct _Is_integer<int> {
                                             ^
C:\DM\BIN\..\stl\type_traits.h(341) : Error: '?$_Is_integer H' is 
already defined
};
^
C:\DM\BIN\..\stl\type_traits.h(343) : Error: identifier or '( declarator 
)' expected
--- errorlevel 1
Jan 06 2003