[FFmpeg-devel] [libswscale PATCH 0/3] Static-making patches for libswscale

Carl Eugen Hoyos cehoyos
Thu Oct 9 14:14:39 CEST 2008


Hi!

Diego 'Flameeyes' Petten? <flameeyes <at> gmail.com> writes:

> > I still don't understand in which way the asm change improves
> > things. Could you try to explain once more?
> 
> I can't tell with suncc (as I'm not testing against that, I'm testing
> against sunc99 that as Roman said, makes a difference on OpenSolaris,
> mostly), but with sunc99 asm() is just simply rejected.

But you do agree that even with the asm() problem fixed, it is not possible to
compile ffmpeg with sunc99, or is there also a way to make it accept #warning?

> Since __asm__() seems to work to some extent, works with ICC, and works
> with GCC without enabling further extensions (-fasm) I'd sincerely like
> to see __asm__() being used instead.
> 
> Yes, gcc without -fasm accepts asm(), gcc -std=c99 does not accept asm()
> and only accepts __asm__().

Thank you, I had not understood this point before. That makes of course sense.

> ICC accepts it anyway I have no idea
> why. suncc accepts asm() but sunc99 does not.
> 
> All of them accept __asm__() just fine.

You mean, fine except for the additional warning that sunc99 emits now for
(nearly?) every file.

Thank you for clarifying, Carl Eugen






More information about the ffmpeg-devel mailing list