[Pixman] [PATCH/RFC 0/4] New option to build pixman as C++ code (--enable-enforced-cplusplus)
Siarhei Siamashka
siarhei.siamashka at gmail.com
Sat Dec 15 21:13:46 PST 2012
This is not intended to be immediately pushed to pixman git repository.
At least not until it proves to have some real practical use. Except
maybe for the 'xor'->'filler' variable rename patch, which clearly
should not cause any regressions or inconveniences.
Any comments or ideas? Hopefully not a C vs. C++ flamewar :)
The same patches are also available at:
http://cgit.freedesktop.org/~siamashka/pixman-g2d/log/?h=cplusplus
Siarhei Siamashka (4):
New option to build pixman as C++ code (--enable-enforced-cplusplus)
Rename 'xor' variable to 'filler' (because 'xor' is a C++ keyword)
Fix "malloc/calloc return values need explicit casts" C++ errors
Various remaining fixes needed for successful compilation with C++
configure.ac | 14 ++++++
pixman/Makefile.am | 2 +
pixman/pixman-access.c | 2 +-
pixman/pixman-bits-image.c | 4 +-
pixman/pixman-compiler.h | 4 ++
pixman/pixman-fast-path.c | 26 +++++-----
pixman/pixman-general.c | 8 ++--
pixman/pixman-glyph.c | 4 +-
pixman/pixman-image.c | 2 +-
pixman/pixman-implementation.c | 4 +-
pixman/pixman-mmx.c | 20 ++++----
pixman/pixman-private.h | 102 ++++++++++++++++++++++++++++++++++-----
pixman/pixman-region.c | 18 ++++----
pixman/pixman-sse2.c | 22 ++++----
pixman/pixman-utils.c | 23 ---------
pixman/pixman-x86.c | 7 ++-
pixman/pixman.c | 6 +-
17 files changed, 171 insertions(+), 97 deletions(-)
--
1.7.8.6
More information about the Pixman
mailing list