summaryrefslogtreecommitdiff
path: root/pixman/pixman-edge.c
diff options
context:
space:
mode:
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>2012-12-16 06:17:20 +0200
committerSiarhei Siamashka <siarhei.siamashka@gmail.com>2012-12-20 04:01:23 +0200
commit5a7cafaf54225b0adaf17467b4dd42b9ece9a93d (patch)
treee8d30819542204fd128c06e95e3a88240ca5aa4f /pixman/pixman-edge.c
parent2cfe188ebd7d1af0d19b7612059202e9f96eee38 (diff)
New option to build pixman as C++ code (--enable-enforced-cplusplus)
First of all, there is no intention to start relying on any C++ features for the normal production builds of pixman which are shipped to end users. The C programming language is just fine. However building pixman as C++ code may be sometimes useful for testing and development purposes. C++ is particularly anal about type safety and also allows defining classes for custom data types with operators overloading. It may be handy for the special debugging builds where we can enforce strict rules about what and how can be done with pixman_fixed_t and pixman_fixed_48_16_t, forbid uncontrolled casts between integer and fixed point types, implement custom checks at runtime for detecting overflows or any other potential problems.
Diffstat (limited to 'pixman/pixman-edge.c')
0 files changed, 0 insertions, 0 deletions