Groups
Groups
Sign in
Groups
Groups
Jansson users
Conversations
About
Send feedback
Help
Problems with snprintf in visual studio 2015
700 views
Skip to first unread message
webus...@gmail.com
unread,
Jul 28, 2015, 9:37:51 AM
7/28/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jansson users
It turns out that vs 2015 stdio has sprintf defined
http://stackoverflow.com/questions/27754492/vs-2015-compiling-cocos2d-x-3-3-error-fatal-error-c1189-error-macro-definiti
As suggested in the post above. I tried the two following steps and both of them still give me errors:
Step 1:
#if _MSC_VER>=1900
# define STDC99
#endif
Step 2:
remove the line: #define snprintf _snprintf in jansson_private.h
Any suggestions on what I can do?
Regards,
WU
Petri Lehtinen
unread,
Sep 1, 2015, 2:37:06 PM
9/1/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jansso...@googlegroups.com
This has now been fixed in the GitHub repo. See
https://github.com/akheron/jansson/pull/252
.
Petri
signature.asc
Reply all
Reply to author
Forward
0 new messages