Ansification of X.Org code: A question how to proceed
Magnus.Kessler at gmx.net
Tue Dec 2 04:21:20 PST 2008
On Tuesday 02 December 2008, Peter Breitenlohner wrote:
> On Mon, 20 Oct 2008, Alan Coopersmith wrote:
> > In general, I think everyone agrees conversion of the remaining bits
> > of code that use K&R/pre-ANSI-C89 style function prototypes &
> > declarations to C89 is a good thing (provided it's done correctly ),
> > ....
> >  http://invisible-island.net/ansification/index.html
> Hi Alan, Adam, Julien, Paulo,
> now with xorg-macros-1.2 available, I have prepared patches to convert
> libICE and libSM to strict ANSI C as follows:
> use xorg-macros-1.2
> Use XORG_CHANGELOG for rule to generate ChangeLog from git log
> Use XORG_CWARNFLAGS for compiler warning flags, leave CFLAGS to user
> Activate CWARNFLAGS with lots of gcc warnings
> towards ANSI C
> make default error handlers and some others static
> ANSI C
> convert all old style function declarations
can you please check if there is some duplication of effort with the patch
to ansify libICE I sent to the list some time ago?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part.
More information about the xorg