Issue 1672 in zxing: C++ version : too many initializers for ITFReader.cpp

10 views
Skip to first unread message

zx...@googlecode.com

unread,
Apr 23, 2013, 8:20:43 AM4/23/13
to zx...@googlegroups.com
Status: New
Owner: ----

New issue 1672 by skyloo...@gmail.com: C++ version : too many initializers
for ITFReader.cpp
http://code.google.com/p/zxing/issues/detail?id=1672

The code is here:
const int DEFAULT_ALLOWED_LENGTHS_LEN = 10;
const int DEFAULT_ALLOWED_LENGTHS_[DEFAULT_ALLOWED_LENGTHS_LEN] =
{ 48, 44, 24, 20, 18, 16, 14, 12, 10, 8, 6 };

there are 11 number for array DEFAULT_ALLOWED_LENGTHS_ while it can only
contain 10.

VC++ report error for this:
2> ITFReader.cpp
2>E:\Develop\ZXing\cpp\core\src\zxing\oned\ITFReader.cpp(48): error C2078:
too many initializers

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

zx...@googlecode.com

unread,
Apr 23, 2013, 8:36:38 AM4/23/13
to zx...@googlegroups.com

Comment #1 on issue 1672 by skyloo...@gmail.com: C++ version : too many
Submit my patch file here :)

Attachments:
ITFReader.cpp.patch 656 bytes

zx...@googlecode.com

unread,
Apr 23, 2013, 9:39:07 AM4/23/13
to zx...@googlegroups.com
Updates:
Status: Accepted
Owner: smpar...@smparkes.net

Comment #2 on issue 1672 by smpar...@smparkes.net: C++ version : too many
(No comment was entered for this change.)

zx...@googlecode.com

unread,
Apr 23, 2013, 9:52:30 AM4/23/13
to zx...@googlegroups.com
Updates:
Status: Fixed

Comment #3 on issue 1672 by smpar...@smparkes.net: C++ version : too many
This issue was closed by revision r2684.
Reply all
Reply to author
Forward
0 new messages