summaryrefslogtreecommitdiffstats
path: root/solenv
diff options
context:
space:
mode:
authorLubos Lunak <l.lunak@suse.cz>2012-12-26 16:30:18 +0100
committerLubos Lunak <l.lunak@suse.cz>2012-12-26 18:43:26 +0100
commit32bd430f4d636b564a4cf796148705fd6ef72304 (patch)
tree20cb47f78b85daadf862f258d71df03e1dbabff6 /solenv
parentWaE: unreferenced formal parameters and old-style declarators (diff)
downloadcore-32bd430f4d636b564a4cf796148705fd6ef72304.tar.gz
core-32bd430f4d636b564a4cf796148705fd6ef72304.zip
PCH for Library_svt
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/bin/update_pch.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/solenv/bin/update_pch.sh b/solenv/bin/update_pch.sh
index f89bfb2aa02e..d9bb0cbbbdfe 100755
--- a/solenv/bin/update_pch.sh
+++ b/solenv/bin/update_pch.sh
@@ -96,10 +96,17 @@ function filter_ignore()
# - 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
+# - prewin.h, postwin.h and shlobj.h are WNT-only (to be fixed in a better way)
grep -e '\.h[">]$' -e '\.hpp[">]$' -e '\.hdl[">]$' -e '\.hxx[">]$' -e '^[^\.]*>$' | \
grep -v -F -e '#include "gperffasttoken.hxx"' | \
grep -v -F -e '#include <svtools/sores.hxx>' | \
- grep -v -F -e '#include <editeng/eeitemid.hxx>'
+ grep -v -F -e '#include <editeng/eeitemid.hxx>' | \
+ grep -v -F -e '#include "jerror.h"' | \
+ grep -v -F -e '#include "jpeglib.h"' | \
+ grep -v -F -e '#include <prewin.h>' | \
+ grep -v -F -e '#include <postwin.h>' | \
+ grep -v -F -e '#include <shlobj.h>'
)
# " in #include "foo" breaks echo down below, so " -> @