Showing posts with label clang. Show all posts
Showing posts with label clang. Show all posts

Thursday, 17 September 2009

Some little tools

GNOME 2.28 and Fedora 12 are approaching, so I'm in full bug fixing mode.

I've been using clang on totem-pl-parser as a test:

$ CFLAGS=-I/usr/lib/gcc/x86_64-redhat-linux/4.4.1/include/ scan-build -o clang ./autogen.sh --prefix=/usr/ --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var
$ CFLAGS=-I/usr/lib/gcc/x86_64-redhat-linux/4.4.1/include/ scan-build -o clang make

All the little bugs will be listed in clang/index.html. I fixed most of those, and pushed them using git-bz:

$ git bz file totem-pl-parser/general HEAD~10..

And voila, a nice list of patches, ready to apply.