Closed GoogleCodeExporter closed 9 years ago
I met the same issue, and here is the patch I used,
refer to
http://stackoverflow.com/questions/9903582/error-c2275-illegal-use-of-this-type-
as-an-expression
Your code cannot be compiled as C++ code. You'll have to follow 'C' rulez, a
local variable declaration must appear before any statements in a function
body.
Original comment by roc...@gmail.com
on 10 Jul 2014 at 5:40
Attachments:
Thank you for quick response
Original comment by anatol1...@gmail.com
on 10 Jul 2014 at 6:43
I reported this issue in the corresponding codereview with a patch:
https://codereview.chromium.org/354413002/#msg4
The response was that VS 2010 is not supported. The rest of the code builds
fine with the compiler of VS 2010, so could you make an exception and merge
this trivial fix?
Original comment by m.dopp...@gmail.com
on 17 Jul 2014 at 6:04
[deleted comment]
Fixed in https://pdfium.googlesource.com/pdfium/+/6256a14.
Original comment by jun_f...@foxitsoftware.com
on 18 Jul 2014 at 4:38
Thanks!
Original comment by m.dopp...@gmail.com
on 21 Jul 2014 at 7:53
Original issue reported on code.google.com by
anatol1...@gmail.com
on 9 Jul 2014 at 12:35Attachments: