Re: [CinePaint] PROBLEMS RE-INSTALLING CINEPAINT-0.22-1 ON MANDRIVA

Robin Rowe <[email protected]> Sat, 29 Nov 2008 08:40:10 -0800
Newsgroups gmane.comp.video.cinepaint.user
Message-ID <[email protected]>
Ron,

 > 0.22-1 on Mandriva 2009.0.

Sorry, I should have noticed from the subject you're working in 0.22-1. 
I sometimes look past things written in ALL CAPS.

 > .. -I/usr/local/include -I.. -DDEBUG -g -Wall --pedantic -p -DDEBUG -g
 > -Wall --pedantic -g -MT br_Image.lo -MD -MP -MF .deps/br_Image.Tpo -c
 > br_Image.cpp  -fPIC -DPIC -o .libs/br_Image.o
 > br_Image.cpp: In member function ‘void br::Image::_Image(int, int,int,
 > br::DataType, br::StoringScheme, const char*)’:
 > br_Image.cpp:150: error: ‘strlen’ was not declared in this scope
 > br_Image.cpp:151: error: ‘strcpy’ was not declared in this scope

If I understand what the error message is trying to tell me, it's 
objecting to being compiled with the --pedantic flag on without the 
strlen string.h header explicitly included.

Add this line:

#include <string.h>

Placing that with the other includes near the top of br_Image.cpp should 
fix.

Robin
-- 
Robin Rowe
CinePaint Project Leader
Beverly Hills, California
www.CinePaint.org
www.cinepaint.blogspot.com
www.linkedin.com/in/robinrowe

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cinepaint-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cinepaint-users