summaryrefslogtreecommitdiff
path: root/src/check-headers.sh
AgeCommit message (Collapse)AuthorFilesLines
2009-09-16Set LC_ALL=C instead of LANG=CBehdad Esfahbod1-1/+2
2008-09-26[check-*.sh] Redirect error reports to stderrBehdad Esfahbod1-1/+1
2008-09-18[src/check-*.sh] Use computed list of source files instead of running "find"Behdad Esfahbod1-2/+7
When the lists are available use them. They will be available to test programs by make.
2008-06-12Make check-*.sh scripts more portable (#16299)Behdad Esfahbod1-3/+3
2008-01-28[configure.in] Generate a cairo-no-features.h with macros for disabled ↵Behdad Esfahbod1-1/+1
supported backends to trick gtk-doc with it.
2007-04-09Add attribute(warn_unused_result)Chris Wilson1-1/+1
This adds a compiler check that the function result is used by the caller and enables it by default for all cairo_private functions and for public API that returns a cairo_status_t. It has been discussed that to extend the warnings to all functions, a new function type could been introduced to cover static functions: cairo_static. This has not been done at the present time in order to minimise the churn and focus on the more common errors. In order to reduce the warning spew generated by gcc for invalid use of this attribute, -Wno-attributes is added to CFLAGS. This has the unfortunate side-effect of masking future warnings for all attributes - be warned!
2007-03-16Use "find !" rather than "find -not" for better portabilityThomas Klausner1-1/+1
The man page for GNU find says: -not expr Same as ! expr, but not POSIX compliant. And actually, on e.g. NetBSD, "-not" is not supported. This resolved the following bug: https://bugs.freedesktop.org/show_bug.cgi?id=10226
2006-10-02[check-headers.sh] Don't use '\>' regexp syntaxBehdad Esfahbod1-1/+1
2006-09-18check-headers.sh: Add a test for cairo_public decorators in public headersBehdad Esfahbod1-0/+21
Test fails currently because of bug 8313 and similar issues.