[FFmpeg-devel] _t POSIX namespace issues

Diego Biurrun diego
Thu Dec 11 17:33:57 CET 2008


On Thu, Dec 11, 2008 at 09:43:02AM +0000, M?ns Rullg?rd wrote:
> Diego Biurrun <diego at biurrun.de> writes:
> 
> > So names ending in _t are reserved by POSIX.  Nonetheless we have tons
> > of them.  I thought about fixing these issues myself, but coming up with
> > good new names is tedious, so I propose to have each maintainer address
> > the problem in the files they maintain.  Here is a the result of a grep
> > for problematic names with maintainers, in no particular order:
> 
> > libpostproc/postprocess.h:typedef void pp_context_t;
> > libpostproc/postprocess.h:typedef void pp_mode_t;
> 
> Typedeffing things as void or void * is just silly.

True, here is a patch that addresses this.  I fear this might need a
major version bump, though...

Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postproc_typedef.diff
Type: text/x-diff
Size: 3334 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081211/3d585ea3/attachment.diff>



More information about the ffmpeg-devel mailing list