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>

rs: Fix mismatch between ENTRY and END points

Change-Id: I0d53fe29379e8abe1dfd1dc96edaca810a531acb
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>

rs: Fix build with ISO C++ 11 compilers

ISO C++ 11 no longer allows implicit narrowing during initialization

Change-Id: Iec3726fc12379e17300a372619378b77d033d841
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
Use -fno-strict-aliasing where needed

Change-Id: Icd4ab4af810a173eb0edd5f69f825f87b37753bf
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
Fix typo
Signed-off-by: Paul Beeler <sparksco@gmail.com>
use call cc-otpion