[Mplayer-cvslog] CVS: main/libao2 ao_plugin.c,1.4,1.5 [BREAKS /w gcc3]

pl p_l at tfz.net
Wed Dec 5 11:24:59 CET 2001


On Wed, Dec 05, 2001 at 01:28:13AM +0100, Felix Buenemann wrote:
> On Tuesday, 4. December 2001 23:59, you wrote:
> > On Tue, Dec 04, 2001 at 01:23:29PM +0100, Anders Johansson wrote:
> > > Update of /cvsroot/mplayer/main/libao2
> > > In directory mplayer:/var/tmp.root/cvs-serv18543/libao2
> > > 
> > > Modified Files:
> > >       ao_plugin.c
> > > Log Message:
> > > Global variables protected using volatile
> >
> > This breaks CVS (types not matching in audio_plugin.h) with gcc3.
> >
> > Is 'volatile' attribute really needed (as values are used in a
> > sequential way [no thread, no signals]) ?
> hmm, you tried with __volatile (or __volatile__) ?

I was asking 'in what way using volatile attribute protects a global
variable that is accessed by a monothreaded application and there is no
signal'.
I don't see why - maybe I forget sthg - so please explain.

It's fixed in a commit of audio_plugin.h as it was breaking CVS.

-- 
Best regards,
  pl



More information about the MPlayer-cvslog mailing list