Bug 106891

Summary: Compile error in kis_painter.cc on Solaris 9/SPARC
Product: [Applications] krita Reporter: Bernd Kuhls <bernd.kuhls>
Component: GeneralAssignee: Halla Rempt <halla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernd Kuhls 2005-06-06 15:20:08 UTC
Version:           KOffice 1.3.98 (1.4rc1) (using KDE KDE 3.4.1)
Installed from:    Compiled From Sources
Compiler:          gcc-3.3.5 
OS:                Solaris

kis_painter.cc: In function `void cdelete(int)':
kis_painter.cc:752: error: `bcopy' undeclared (first use this function)
kis_painter.cc:752: error: (Each undeclared identifier is reported only once
   for each function it appears in.)

On Solaris bcopy is defined in /usr/include/strings.h, adding this line
to kis_painter.cc solves the compile bug:

#include <strings.h>
Comment 1 Halla Rempt 2005-06-06 15:52:24 UTC
Thanks - I've just committed for 1.4, will commit later for trunk when my source tree works again...