summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-20 01:26:23 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-20 01:49:53 +0200
commitd06a8cddc0483be41e1cd8252fd23674f65b1f15 (patch)
tree2b83c5b7078a2d3856b3510989fba9423c3205b7 /bin
parent9626106562b3e11f66e7a07f1b2173f15ec183f6 (diff)
update_pch.sh: ignore a icu header file
Change-Id: I2654933e1e6f50902be6b992767ab5caac273f9c
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update_pch.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/update_pch.sh b/bin/update_pch.sh
index 241ce6c45508..6b425cb53d75 100755
--- a/bin/update_pch.sh
+++ b/bin/update_pch.sh
@@ -127,12 +127,14 @@ function local_file()
function filter_ignore()
(
# - filter out all files that are not normal headers
+# - unicode/datefm.h is a icu header, clashes with DateFormat definition
# - gperffasttoken.hxx is not a proper header
# - sores.hxx provides BMP_PLUGIN, which is redefined
# - some sources play ugly #define tricks with editeng/eeitemid.hxx
# - jerror.h and jpeglib.h are not self-contained
# - service1.hxx/service2.hxx are inside comments in frameworks/
grep -E -e '\.h[">]$' -e '\.hpp[">]$' -e '\.hdl[">]$' -e '\.hxx[">]$' -e '^[^\.]*>$' | \
+ grep -v -F -e '#include <unicode/datefmt.h>' | \
grep -v -F -e '#include "gperffasttoken.hxx"' | \
grep -v -F -e '#include <svtools/sores.hxx>' | \
grep -v -F -e '#include <editeng/eeitemid.hxx>' | \