iosfwd multiple declarations of char_traits int_type


2006-04-27 04:48:46 AM
cppbuilder59
Hi,
this one is driving me crazy - I cannot figure out what is wrong. I recently
installed TNT components and BDS 2006 Upgrade 2. One of them must be the
root of this problem?
[C++ Error] iosfwd(254): E2238 Multiple declaration for
'char_traits<wchar_t>::int_type'
Full parser context
project1.cpp(6): #include
D:\Projects\someproj_maintenance\someproj\source\app\CmdLineInterface.h
CmdLineInterface.h(5): #include
D:\Projects\someproj_maintenance\someproj\source\app\FormMainSrc.h
FormMainSrc.h(14): #include
D:\Projects\someproj_maintenance\someproj\source\app\FormChildSrc.h
FormChildSrc.h(31): #include
D:\Projects\someproj_maintenance\someproj\source\app\something.h
something.h(14): #include c:\program
files\borland\bds\4.0\include\dinkumware\vector
vector(5): #include c:\program
files\borland\bds\4.0\include\dinkumware\memory
memory(5): #include c:\program
files\borland\bds\4.0\include\dinkumware\xmemory
xmemory(6): #include c:\program
files\borland\bds\4.0\include\dinkumware\xutility
xutility(5): #include c:\program
files\borland\bds\4.0\include\dinkumware\utility
utility(5): #include c:\program
files\borland\bds\4.0\include\dinkumware\iosfwd
iosfwd(9): namespace std
iosfwd(251): class char_traits<wchar_t>
[C++ Error] iosfwd(136): E2344 Earlier declaration of
'char_traits<wchar_t>::int_type'
Full parser context
project1.cpp(6): #include
D:\Projects\someproj_maintenance\someproj\source\app\CmdLineInterface.h
CmdLineInterface.h(5): #include
D:\Projects\someproj_maintenance\someproj\source\app\FormMainSrc.h
FormMainSrc.h(14): #include
D:\Projects\someproj_maintenance\someproj\source\app\FormChildSrc.h
FormChildSrc.h(31): #include
D:\Projects\someproj_maintenance\someproj\source\app\something.h
something.h(14): #include c:\program
files\borland\bds\4.0\include\dinkumware\vector
vector(5): #include c:\program
files\borland\bds\4.0\include\dinkumware\memory
memory(5): #include c:\program
files\borland\bds\4.0\include\dinkumware\xmemory
xmemory(6): #include c:\program
files\borland\bds\4.0\include\dinkumware\xutility
xutility(5): #include c:\program
files\borland\bds\4.0\include\dinkumware\utility
utility(5): #include c:\program
files\borland\bds\4.0\include\dinkumware\iosfwd
iosfwd(9): namespace std
iosfwd(251): class char_traits<wchar_t>
Brian