[gst-devel] Re: [gst-cvs] thomasvs gst-ffmpeg: gst-ffmpeg/ext/ffmpeg/

David Schleef ds at schleef.org
Sun Oct 2 19:11:19 CEST 2005


On Sat, Oct 01, 2005 at 12:06:43PM +0200, Thomas Vander Stichele wrote:
> On Fri, 2005-09-30 at 14:04 -0400, Ronald S. Bultje wrote:
> > On Fri, 2005-09-30 at 02:29 -0700, Thomas Vander Stichele wrote:
> > > Log message:
> > > replace do { } while (0); with { }
> > 
> > That causes issues with some old stupid compilers, IIRC. Stylishly, I
> > don't like it at all.
> 
> Me too.  Do you know which ? When I asked nobody could give me a
> definitive answer, and IIRC there are lots of places in the core where
> { } is used, so I'd prefer to have the same style anywhere.
> 
> If you know more info about this, please let me know.

As { } blocks are required by C89, I'd be highly surprised if there are
any interesting compilers these days that don't support it.



dave...

-- 
David Schleef
Big Kitten LLC (http://www.bigkitten.com/) -- data acquisition on Linux




More information about the gstreamer-devel mailing list