[FFmpeg-devel] volatile vs. __volatile vs. __volatile__

Michael Niedermayer michaelni
Sat Feb 23 23:15:39 CET 2008


Hi

On Sat, Feb 23, 2008 at 10:46:43PM +0100, Reimar D?ffinger wrote:
> Hello,
> currently FFmpeg uses an random mess of __asm __volatile, __asm__
> __volatile__ and asm volatile.
> Of these, at least the __volatile part is not supported by the Sun C
> compiler (admittedly it is not really usable for FFmpeg right now anyway).
> Is there a chance to decide for one way?
> Since volatile is keyword I do not really see a point in the __, the asm
> case may be a bit different, though at most two ways to write it IMO
> should be more than enough there as well...
> Opinions?

Feel free to remove the __ if they cause problems with a compiler.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I count him braver who overcomes his desires than him who conquers his
enemies for the hardest victory is over self. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080223/57360f39/attachment.pgp>



More information about the ffmpeg-devel mailing list