Comments (7)
Those functions are actually needed by the scanner - see json_scanner.yy in the number rules. The correct solution would be to add the conditional defines in the "%{ %}" block at the top of the file, re-run flex and then bison.
I do not have access to a Win32 development machine at the moment, can you verify that the solution works and submit a pull request, please?
from qjson.
The issue should be fixed inside of the issue_23 branch. Could you please checkout the code and test it?
from qjson.
@garrrrr have you been able to test my fix?
from qjson.
I wonder, why nobody ever confirmed this fix.
My current setup is a Win7 Machine 64bit, with VS2010 and VS2012 installed. I tested your issue_23 branch on both VS2010 and VS2012 as a 64bit build and it works just fine for me.
from qjson.
Great, I'll merge the branch in master and close this issue.
from qjson.
Fix merged in master.
from qjson.
Hi think we should re-open this. It seems that the fix broke the build under MinGW, as described in my comment for issue #26.
There probably is a way to use something more specific to VS2012 instead of #ifdef _WIN32.
Not sure exactly how to fix this, but I can try a fix if suggestions are made. I run Qt 4.8.4 with MinGW on win 7, but also have a version of VS 2012 installed.
from qjson.
Related Issues (20)
- Mac CMake
- Test failure: too large exponential: Number is out of range. HOT 4
- New release 0.9.1
- Build help: QJsonObject on Ubuntu 16.04 HOT 1
- Number is out of range: 19 HOT 1
- Add BOM support
- Non-stored Properties are included by QObjectHelper::qobject2qvariant
- Please review PR 107
- How can i do cmake with cross-compiler
- illegal number with scientific notation such as 1.79769313486232e+308
- 2/4 Test #2: testscanner ......................***Failed 0.01 sec [[email protected]] HOT 2
- Qt6 support HOT 3
- Encode String not behaving well with special characters.
- UTF8 QString parse problem
- Can you change the License to MIT? HOT 2
- Error compiling with Mingw 64 HOT 2
- Wrong indenting
- Request for Qt 5 release HOT 1
- CMake config depends on qtgui, while the library actually doesn't need it
- API/ABI changes review for QJson
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 qjson.