Search the web
Sign In
New User? Sign Up
DatabaseTemplateLibrary · The Database Template Library
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Fedora Core 9, g++ 4.3.0, DTL 3_6_11   Message List  
Reply | Forward Message #2402 of 2481 |
I have trouble compiling again. This time it's with the latest 3.6.11
release of the dtl on gcc 4.3.0. From the error messages it seems that
it's simply a change in the standard library headers (i.e. not finding
memcmp anymore and needing typeinfo).

best regards,

Sören


In file included from dtl_base_types.h:4,
from DB_Base.h:21,
from BoundIO.h:23,
from BoundIO.cpp:13:
dtl_config.h: In static member function �static int
std::char_traits<unsigned char>::compare(const dtl::BYTE*, const
dtl::BYTE*, size_t)â&#65533;&#65533;:
dtl_config.h:414: error: â&#65533;&#65533;memcmpâ&#65533;&#65533; was not
declared in this scope
dtl_config.h: In static member function â&#65533;&#65533;static size_t
std::char_traits<unsigned char>::length(const dtl::BYTE*)â&#65533;&#65533;:
dtl_config.h:417: error: â&#65533;&#65533;strlenâ&#65533;&#65533; was not
declared in this scope
dtl_config.h: In static member function â&#65533;&#65533;static const dtl::BYTE*
std::char_traits<unsigned char>::find(const dtl::BYTE*, size_t, const
dtl::BYTE&)â&#65533;&#65533;:
dtl_config.h:420: error: â&#65533;&#65533;memchrâ&#65533;&#65533; was not
declared in this scope
dtl_config.h: In static member function â&#65533;&#65533;static dtl::BYTE*
std::char_traits<unsigned char>::move(dtl::BYTE*, const dtl::BYTE*,
size_t)â&#65533;&#65533;:
dtl_config.h:423: error: â&#65533;&#65533;memmoveâ&#65533;&#65533; was not
declared in this scope
dtl_config.h: In static member function â&#65533;&#65533;static dtl::BYTE*
std::char_traits<unsigned char>::copy(dtl::BYTE*, const dtl::BYTE*,
size_t)â&#65533;&#65533;:
dtl_config.h:426: error: â&#65533;&#65533;memcpyâ&#65533;&#65533; was not
declared in this scope
dtl_config.h: In static member function â&#65533;&#65533;static dtl::BYTE*
std::char_traits<unsigned char>::assign(dtl::BYTE*, size_t,
dtl::BYTE)â&#65533;&#65533;:
dtl_config.h:429: error: â&#65533;&#65533;memsetâ&#65533;&#65533; was not
declared in this scope
In file included from bind_basics.h:26,
from BoundIO.h:24,
from BoundIO.cpp:13:
RootException.h: In member function â&#65533;&#65533;virtual const char*
dtl::ImplErr<T>::typenm() constâ&#65533;&#65533;:
RootException.h:125: error: must #include <typeinfo> before using typeid
RootException.h: In static member function â&#65533;&#65533;static
dtl::ImplErr<T>*
dtl::ErrorHandler_t::CastFromBase(dtl::ImplBaseErr*, const T*)â&#65533;&#65533;:
RootException.h:151: error: must #include <typeinfo> before using typeid
make[1]: *** [debug/BoundIO.o] Error 1




Mon Jun 2, 2008 3:28 pm

buschnick
Offline Offline
Send Email Send Email

Forward
Message #2402 of 2481 |
Expand Messages Author Sort by Date

I have trouble compiling again. This time it's with the latest 3.6.11 release of the dtl on gcc 4.3.0. From the error messages it seems that it's simply a...
buschnick
Offline Send Email
Jun 12, 2008
6:56 pm

OK. Thanks for reporting this. gcc must have changed how they handle this from 4.1 to 4.3. For the memcmp, if you add #include <cstring> after #include...
Corwin Joy
corwinjoy
Offline Send Email
Jun 12, 2008
7:07 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help