Re: mjpegtools patch for better support of Solaris and Sun Studio

Gernot Ziegler <[email protected]> Fri, 18 Sep 2009 19:25:48 +0200 (CEST)
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <alpine.DEB.1.10.0909181925040.24273@lvps87-230-5-85.dedicated.hosteurope.de>
Hej Milan,

thank you for your contribution! I am not actively participating in the 
developement anymore, but have forwarded your patch to the developer 
mailing list. :-)

/Gernot

> Hi,
>
> based on my limited set of C++, I created attached set of patches which
> enables Solaris/Sun Studio support.
>
> mjpegtools-01-progname.diff - no ideal support for missing __progname
> mjpegtools-02-alloca.diff - <alloca.h> missing
>
> mjpegtools-04-suncc.diff
> - std:: used for std namespace functions
> - sizeof with non-constant array size is not supported
> - const char * were needed
> - SetRegion2D was not visible in some templates
>
> I know these patches are not ideal but it can be inspiration for better
> Solaris support and nothing is in collision with GCC.
>
> Best regards,
>
> Milan
>

Servus,
   Gernot

GPU. 3D Vision. Europe. Future. Now.
Drop by: www.mpi-sb.mpg.de/~gziegler - www.geofront.eu


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf