package/zbar: needs c99 mode
authorPeter Seiderer <ps.report@gmx.net>
Wed, 27 Feb 2019 22:01:00 +0000 (23:01 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 28 Feb 2019 22:40:30 +0000 (23:40 +0100)
commit3e15083f18ea00b17ee9264716a824b2fd5108e3
treeee3dc4681b1e791c923949e4745af380b1532f7b
parentcbf1d861fadb491eee6e3686019d8f67d7f4ad85
package/zbar: needs c99 mode

Fixes [1]:

  bar/sqcode.c: In function 'sq_scan_shape':
  zbar/sqcode.c:171:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
       for (int x = x0 - 1; x < x0 + width + 1; x++) {
       ^
  zbar/sqcode.c:171:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code

[1] http://autobuild.buildroot.net/results/7d544275756f655f9d42c05562aca653923155b1

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/zbar/zbar.mk