[FFmpeg-devel] [PATCH] DECLARE_ALIGNED for sun compilers

Michael Niedermayer michaelni
Thu May 17 18:06:16 CEST 2007


On Thu, May 17, 2007 at 04:46:40PM +0200, Reimar Doeffinger wrote:
> Hello,
> newer Sun compilers support aligned attribute, so we should use that
> instead of __declspec which fails.
> Older versions only support #pragma align, which i have no idea how to
> use with teh current system.
> Attached patch would make them just ignore alignment which should be
> fine in 99% percent of cases since it can't compile the asm anyway
> (actually, I am not sure if it could handle the SPARC asm, only tested
> x86...).
> Or we could just ignore these old compilers and put the __GNUC__ and
> __sun cases in one #if.
> What do you think?

patch looks ok

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070517/76bc1063/attachment.pgp>

More information about the ffmpeg-devel mailing list