rs: Fix aliasing violations

Fix aliasing violations so frameworks/rs can be compiled
without -fno-strict-aliasing

Change-Id: I39dee4712eca722c641741074fa1dbd49414b8cd
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
rs: Use -Wno-error - gcc 4.7 adds new warnings rs can't deal with

Change-Id: I38fe66629552d6f11be1bb69d5a93a05251614df
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Clang: Silence warnings (3/3)

With GCC >=4.7 Clang generates a lot of noise with various compiler flags,
and can even break the builds when using Flags like Graphite.  This can be
reproduced by doing the following:

Setting TARGET_EXTRA_CFLAGS with Graphite flags such as these
TARGET_EXTRA_CFLAGS +=  -fgraphite-identity \
                        -floop-block \
                        -floop-strip-mine \
                        -ftree-loop-distribution \
                        -ftree-loop-linear

Causes the following errors to occure and the builds to fail:

clang: error: argument unused during compilation: '-fgraphite-identity'
                                                  '-floop-block'
                                                  '-floop-strip-mine'
                                                  '-ftree-loop-distribution'
                                                  '-ftree-loop-linear'

Silence the errors by passing the -Qunused-arguments for CFLAGS

Singed-off-by: Paul Beeler <sparksco@gmail.com>

More clang fixes

fix Qunused-arguments
Signed-off-by: Paul Beeler <sparksco@gmail.com>

Use -Qunused-arguments for LibRs
Signed-off-by: Paul Beeler <sparksco@gmail.com>

Conflicts:
	Android.mk
Revert "rs: Use -Wno-error - gcc 4.7 adds new warnings rs can't deal with"

This reverts commit eea4ec475f49e85400a0a62ed78665a1bfa8ee2b.
Add -Wno-unknown-warning-option for libRSDriver

Signed-off-by: Paul Beeler <sparksco@gmail.com>

Conflicts:
	Android.mk
Use -Wno-unknown-warning-option for libRs
Signed-off-by: Paul Beeler <sparksco@gmail.com>

Conflicts:
	Android.mk

Conflicts:
	Android.mk