Issue with json_object_set_string
in Windows After Code Refactor
#216
-
I'm currently working on a cleanup in the OSGeo/grass repository, specifically moving some code from a module to a library. However, I am encountering an issue where the JSON output for a particular module becomes incomplete after this change. The problem occurs when using Interestingly, this issue only occurs on Windows, not on macOS or Linux. I have linked the PR where the changes are happening(Check the OSGeo4W failing CI): PR #4665. Has anyone encountered a similar issue, or could you suggest possible causes for this behavior on Windows? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
What do you mean by saying that |
Beta Was this translation helpful? Give feedback.
-
Can you provide a simple proof of concept for this issue? |
Beta Was this translation helpful? Give feedback.
-
The cause of this problem was linking to a library with Parson embedded and at the same time another library with json-c embedded (the function name and thus the resulting symbol |
Beta Was this translation helpful? Give feedback.
Just for test, could you try renaming
json_object_set_string
tojson_object_set_string_parson
and see if it still fails? I can't test it locally unfortunately.