diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2013-09-09 04:51:22 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-09 04:03:57 +0200 |
commit | e15fbd5e8c13afb0cb9b70bf1270786672083d15 (patch) | |
tree | eeec9e1696c38288e5e02ac8350ea7e6dbd7c490 /tools | |
parent | 115da758b9ea3195dfd35c672caee05e9cc90038 (diff) |
Fix QtOpenGL module build with -Werror
Build failed with error
"array subscript is above array bounds [-Werror=array-bounds]"
because GCC optimizes three inline calls and sees A[4][4] != A[16].
According to Thiago this may lead to an undefined behavior after all.
Change-Id: I31ec01377d856890f6072369b3acd1f37e4118ab
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions