[Ffmpeg-devel] Revised os2.diff

François Revol revol
Thu May 5 11:19:55 CEST 2005


> On Sun, May 01, 2005 at 06:26:41PM +0300, Matti Hamalainen wrote:
> > On Sun, 1 May 2005, Fred Rothganger wrote:
> > >    I use spaces before the # regularly with impunity.  Compiles 
> > > ok
> > > under bothe gcc and msvc.  However, if you want spaces, I think
> > > the style of putting them after the # is nicer.
> > 
> > Some preprocessors (GNU cpp too, in traditional mode) actually 
> > _require_ 
> > that the preprocessor directive  starts from the first column of 
> > line 
> > (whitespaces are allowed after '#' though). I don't know if this 
> > has any 
> > relevance to FFMPEG project, but I  think it's a widely used 
> > practice to 
> > do the right way(tm).
> 
> > http://tigcc.ticalc.org/doc/cpp.html
> 
> That document says (in the preprocessing lanuage section) that "white
> space is allowed before and after the #".

tigcc has several specific extentions, like constants expressed in 
binary...
Not sure it's the best example to take.
Where did yuo dig that one form anyway ? :)

Fran?ois.





More information about the ffmpeg-devel mailing list