Comments (3)
I haven't tested 32bit C++ compilation in CI, maybe there will be bugs.
I'll investigate later.
from yyjson.
@lnkuiper I tested many combinations of compile flags and failed to reproduce the bug, until I changed yyjson.c
to yyjson.cpp
and used the same flags from duckdb CI workflow.
The problem is with this combined flags: g++-5 -m32 -fPIC
. When using these flags, both reader
and writer
test cases in yyjson will fail. But everything works fine if I use gcc-5
or a higher version of gcc/g++, or remove the -m32
/-fPIC
flag.
It seems that the __asm
hint code in the read_number()
function is causing the specific error. I removed this line of code in the latest version.
from yyjson.
@ibireme Fixing 32-bit bugs is the worst.
Thank you so much for taking the time to do this, and again thank you so much for this project!
from yyjson.
Related Issues (20)
- Trying to get the raw JSON payload of a yyjson_val object HOT 2
- Read JSON with big number `"large:" 1e999` shuold be allowed by default HOT 6
- How to edit sub-object HOT 3
- Parsing json using yyjson_read failed HOT 3
- WASM performance vs native HOT 1
- What is the API for creating arrays in json objects? HOT 2
- Does yyjson support concurrency HOT 3
- Json Parse Support Binary Data HOT 2
- As yyjson is a pure C library, it should not require C++ compilers HOT 1
- JSON5 Support HOT 1
- Test failed with clang and valgrind HOT 3
- Support for shared values between `yyjson_mut_doc`/`yyjson_mut_val` HOT 8
- Add links to bindings in other languages? HOT 1
- Move ownership of a user allocated C string to yyjson object HOT 6
- Support `yyjson_mut_obj_add_obj` & `yyjson_mut_obj_add_arr` like `yyjson_mut_arr_add_*` HOT 6
- mem leak HOT 1
- Static Code Analysis: Identical sub-expressions on both sides of operator "<<" HOT 1
- Shared libraries need to be properly versioned on Linux HOT 1
- Json files are not newline terminated when pretty printing HOT 3
- memory issue for recursive function HOT 7
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 yyjson.