Comments (6)
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 [email protected]
on 10 Jul 2014 at 5:40
Attachments:
from pdfium.
Thank you for quick response
Original comment by [email protected]
on 10 Jul 2014 at 6:43
from pdfium.
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 [email protected]
on 17 Jul 2014 at 6:04
from pdfium.
[deleted comment]
from pdfium.
Fixed in https://pdfium.googlesource.com/pdfium/+/6256a14.
Original comment by [email protected]
on 18 Jul 2014 at 4:38
- Changed state: Fixed
from pdfium.
Thanks!
Original comment by [email protected]
on 21 Jul 2014 at 7:53
from pdfium.
Related Issues (20)
- CFX_ByteString::LockBuffer() and CFX_WideString::LockBuffer() add complexity and are nearly unused. HOT 1
- Layout of PDF ignoring thinner page size
- SEGV with v8 revision b584bab : CJS_Runtime not providing an array buffer allocator. HOT 1
- CPDF_StandardCryptoHandler::CryptStart() probably doesn't work on big endian architectures.
- Fix variable shadowing in Document.cpp
- Wasteful space calculation in FX_AllocString() HOT 3
- Need way to build XFA branch excluding XFA library features.
- FX_BSTRC() isn't needed for modern compilers/
- opj_intmath.h:120: OPJ_INT32 opj_int_ceildiv(OPJ_INT32, OPJ_INT32): Assertion `b' failed. HOT 2
- FXSYS_strlen return type always requires cast. HOT 1
- PDFium should have a top-level /public header directory
- Set but unused variable in fpdf_edit_image.cpp
- Set but unused variable in fx_ge_text.cpp; need to check errors
- Consider returning a bool in CFX_FolderFontInfo::ScanFile()
- missing extern "C" declarations in some public/ files.
- null pointer dereference in JPX decoder
- NULL CFX_ByteString and CFX_WideString dont compare properly against L"". HOT 2
- Leak inside CPDF_Parser::LoadCrossRefV5
- Slow JPEG2000 loading/rendering HOT 6
- Memory intensive JPEG2000 loading / rendering HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdfium.