tags 441532 - moreinfo
thanks

Zack,

In GCC 4.3, the C++ header dependencies have been cleaned up.  The
advantage of this is that programs will compile faster.  The downside
is that you actually need to directly #include everything you use (but
you really should do this anyway, otherwise your program won't work
with any compiler other than GCC).  There's some more information
about this at http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

This means that packages that include GdomeSmartDOMTraits.hh will fail
to build (see below) and your package will probably fail to build as
well (as doko reported).

> Automatic build of gtkmathview_0.8.0-1 on em64t by sbuild/amd64 0.53
...
> make[3]: Entering directory `/build/tbm/gtkmathview-0.8.0/auto'
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src/common -I../src/frontend/gmetadom 
> -I.. -I/usr/include/gmetadom/gdome_cpp_smart -I/usr/include/libgdome 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2    
>    -g -Wall -O2 -W -Wall -c -o dumpEntitiesTable.o dumpEntitiesTable.cc
> In file included from 
> /usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOMChar.hh:78,
>                  from 
> /usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOMBasic.hh:27,
>                  from 
> /usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOM.hh:27,
>                  from ../src/frontend/gmetadom/gmetadom.hh:22,
>                  from dumpEntitiesTable.cc:25:
> /usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOMTraits.hh: In static 
> member function 'static GdomeSmartDOM::Char16* std::char_traits<short 
> unsigned int>::move(GdomeSmartDOM::Char16*, const GdomeSmartDOM::Char16*, 
> size_t)':
> /usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOMTraits.hh:84: error: 
> 'memmove' was not declared in this scope
> /usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOMTraits.hh: In static 
> member function 'static GdomeSmartDOM::Char16* std::char_traits<short 
> unsigned int>::copy(GdomeSmartDOM::Char16*, const GdomeSmartDOM::Char16*, 
> size_t)':
> /usr/include/gmetadom/gdome_cpp_smart/GdomeSmartDOMTraits.hh:88: error: 
> 'memcpy' was not declared in this scope
> make[3]: *** [dumpEntitiesTable.o] Error 1
> make[3]: Leaving directory `/build/tbm/gtkmathview-0.8.0/auto'

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to