quake: Fix build in ISO C++ 11 mode

Fixes building with -std=gnu++11 - this is useful for compatibility
with future compilers (where gnu++11 will be the default mode) and
to make additional language features/optimizations (e.g. constexpr)
available.

Change-Id: I895e19ef7443e33a1f042cda3abf588a6edc062b
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Merge "quake: Fix build in ISO C++ 11 mode"
[DO NOT MERGE] Add (void *) to make gcc 4.7 happy under strict-alias mode.

[cherry-picked from compiler-dev]

Change-Id: I43aa861b07f8f3f91007d9b7d8bd513da426e04e
Merge "[DO NOT MERGE] Add (void *) to make gcc 4.7 happy under strict-alias mode."
am c12c344d: (-s ours) Merge "[DO NOT MERGE] Add (void *) to make gcc 4.7 happy under strict-alias mode."

* commit 'c12c344ddffba520a28a19f2fe5a6aafe70b4b56':
  [DO NOT MERGE] Add (void *) to make gcc 4.7 happy under strict-alias mode.
am 72a102cd: (-s ours) am c12c344d: (-s ours) Merge "[DO NOT MERGE] Add (void *) to make gcc 4.7 happy under strict-alias mode."

* commit '72a102cd15eaa3e89047ff92cdb313bd0dc7d3d4':
  [DO NOT MERGE] Add (void *) to make gcc 4.7 happy under strict-alias mode.
Add (void *) to make gcc 4.7 happy under strict-alias mode.

Change-Id: Ibe9b5826375577884112d55e0fb31d3c7be697cf
Merge "Add (void *) to make gcc 4.7 happy under strict-alias mode."
quake: Fix build with gcc 4.8

The code makes some assumptions about memory layout that aren't
necessarily valid -- code that comes down to

int vecs[3][4];
vecs[0][5]=something; // assume this is the same as vecs[1][1]

Fix that code, and don't error out on unused-parameter warnings.

Change-Id: Ibcba6139261b8aa4ffc449a72d8918496d79e268
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Merge "quake: Fix build with gcc 4.8"
Merge branch 'master' into HEAD

Conflicts:
	quake/src/WinQuake/pr_exec.cpp

Change-Id: I94410d245d5ce098f2c4ab1a0fc58afd5ef9441a
Signed-off-by: DHO <DHO@dho.im>