[FFmpeg-devel] volatile vs. __volatile vs. __volatile__
Sat Feb 23 23:15:39 CET 2008
On Sat, Feb 23, 2008 at 10:46:43PM +0100, Reimar D?ffinger wrote:
> 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...
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
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel