So just remove the "static" keyword. Where did you get that error,
in compilation or in lint?
cheers
On 7/23/05, Zhang Cheng <ch...@ma...> wrote:
> Hi, again
>=20
> I found a bug at line 150 and 151 of img.c of Animal, following
> compiling errors will occur:
>=20
> img.c:150: error: invalid storage class for function 'RGBMagick2GrayI=
MG'
> img.c:151: error: invalid storage class for function
> 'PSEUDOMagick2GrayIMG'
>=20
> A possible explanation to it would be found here:
>=20
> http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=3D58=
598&admit=3D-682735245+1122122071791+28353475
>=20
> Zhang Cheng wrote:
>=20
> >Hi,
> >
> >I just use splint to make an analysis to the source code of Animal. In
> >order to make splint to work fine, I changed the include path from the
> >form <animal/common.h> to "common.h". IMHO, the current path is more
> >accurate. Ricardo, can I commit my changes without your permission?;-)
> >
> >BTW, splint is good tool to analyse source code and point out the
> >potential bugs at early stage. The software engineers of SUN use it
> >heavily to promote the quality of their product.
> >
> >Zhang Cheng
> >
> >
> >-------------------------------------------------------
> >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> >from IBM. Find simple to follow Roadmaps, straightforward articles,
> >informative Webcasts and more! Get everything you need to get up to
> >speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dcli=
ck
> >_______________________________________________
> >SIPtoolbox-devel mailing list
> >SIP...@li...
> >https://lists.sourceforge.net/lists/listinfo/siptoolbox-devel
> >
> >
> >
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic=
k
> _______________________________________________
> SIPtoolbox-devel mailing list
> SIP...@li...
> https://lists.sourceforge.net/lists/listinfo/siptoolbox-devel
>=20
--=20
Ricardo Fabbri
PhD Student in Computer Engineering / Computer Vision
LEMS - Laboratory for Engineering Man-Machine Systems
Brown University, USA
|