Re: [kde-linux] kdebase-runtime 4.1 compilation minor issue



On Wed, 30 Jul 2008 18:21:07 +0000
Beso <givemesugarr@xxxxxxxxx> wrote:

i think that your problem i gcc 4.3.1. i've had some issues with trunk kde4

Yes, you're right. Take a look at this:

http://gcc.gnu.org/gcc-4.3/porting_to.html

C++ language issues
Header dependency cleanup

As detailed here (Header dependency streamlining), many of the standard
C++ library include files have been edited to only include the smallest
possible number of additional files. As such, many C++ programs that
used std::memcpy without including <cstring>, or used std::auto_ptr
without including <memory> will no longer compile.

Usually, this error is of the form:

error: 'strcmp' was not declared in this scope

The table below shows some of the missing items, and the header file
that will have to be added as an #include for the compile to succeed.

***

So I think it's just a matter of including the correct missing
header.

--
Linux 2.6.26: Rotary Wombat
http://u-br.net


___________________________________________________
This message is from the kde-linux mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.