summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2015-10-27 14:56:12 +0900
committerSeigo Nonaka <nona@google.com>2015-10-28 04:52:49 +0000
commitbae347682989d2627081310129a5b60541ed6ad0 (patch)
tree2b7390e37aa2584d60a491529f58e1ec42f45dec /include
parentb4c799180458fc37b96ee43ef9111f64e0cc99f7 (diff)
downloadandroid_frameworks_minikin-bae347682989d2627081310129a5b60541ed6ad0.tar.gz
android_frameworks_minikin-bae347682989d2627081310129a5b60541ed6ad0.tar.bz2
android_frameworks_minikin-bae347682989d2627081310129a5b60541ed6ad0.zip
Add -Werror -Wall -Wextra to compiler option.
This is 2nd trial of I30a0914a4633bd93eb60957cdf378770f04d8428 - To suppress noisy unused parameter warnings, comment out unused arguments. - Add -Werror for suppressing further warning. - Add -Wall -Wextra for safety. - Use "z" prefix for format string of size_t. Verified that compile succeeded on all arm,arm64,mips,x86,x86_64. Change-Id: I7ad208464486b8a35da53929cb1cfe541ed0052f
Diffstat (limited to 'include')
-rw-r--r--include/minikin/Layout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/minikin/Layout.h b/include/minikin/Layout.h
index 83eb963..cb68db9 100644
--- a/include/minikin/Layout.h
+++ b/include/minikin/Layout.h
@@ -59,7 +59,7 @@ struct LayoutGlyph {
};
// Internal state used during layout operation
-class LayoutContext;
+struct LayoutContext;
enum {
kBidi_LTR = 0,