Jansson lib build failed on win32 only [cocos2dx 3.0rc0]


#1

Hi everyone,

i have a problem is i cant build my project with jansson lib

here is error

Error	73	error C2054: expected '(' to follow 'inline'	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	37	1	KeoNgot
Error	76	error C2054: expected '(' to follow 'inline'	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	43	1	KeoNgot
Error	79	error C2054: expected '(' to follow 'inline'	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	51	1	KeoNgot
Error	82	error C2054: expected '(' to follow 'inline'	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	57	1	KeoNgot
Error	87	error C2054: expected '(' to follow 'inline'	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	84	1	KeoNgot
Error	248	error C2054: expected '(' to follow 'inline'	d:\cocos2dx3rc0\projects\keongot\classes\value.c	24	1	KeoNgot
Error	251	error C2054: expected '(' to follow 'inline'	d:\cocos2dx3rc0\projects\keongot\classes\value.c	27	1	KeoNgot
Error	254	error C2054: expected '(' to follow 'inline'	d:\cocos2dx3rc0\projects\keongot\classes\value.c	30	1	KeoNgot
Error	49	error C2054: expected '(' to follow 'inline' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	95	1	KeoNgot
Error	52	error C2054: expected '(' to follow 'inline' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	106	1	KeoNgot
Error	55	error C2054: expected '(' to follow 'inline' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	157	1	KeoNgot
Error	58	error C2054: expected '(' to follow 'inline' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	163	1	KeoNgot
Error	61	error C2054: expected '(' to follow 'inline' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	169	1	KeoNgot
Error	64	error C2054: expected '(' to follow 'inline' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	184	1	KeoNgot
Error	67	error C2054: expected '(' to follow 'inline' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	190	1	KeoNgot
Error	70	error C2054: expected '(' to follow 'inline' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	196	1	KeoNgot
Error	1	error C2054: expected '(' to follow 'inline' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	95	1	KeoNgot
Error	4	error C2054: expected '(' to follow 'inline' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	106	1	KeoNgot
Error	10	error C2054: expected '(' to follow 'inline' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	157	1	KeoNgot
Error	16	error C2054: expected '(' to follow 'inline' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	163	1	KeoNgot
Error	21	error C2054: expected '(' to follow 'inline' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	169	1	KeoNgot
Error	27	error C2054: expected '(' to follow 'inline' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	184	1	KeoNgot
Error	33	error C2054: expected '(' to follow 'inline' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	190	1	KeoNgot
Error	39	error C2054: expected '(' to follow 'inline' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	196	1	KeoNgot
Error	5	error C2054: expected '(' to follow 'inline' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	95	1	KeoNgot
Error	11	error C2054: expected '(' to follow 'inline' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	106	1	KeoNgot
Error	18	error C2054: expected '(' to follow 'inline' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	157	1	KeoNgot
Error	24	error C2054: expected '(' to follow 'inline' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	163	1	KeoNgot
Error	30	error C2054: expected '(' to follow 'inline' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	169	1	KeoNgot
Error	36	error C2054: expected '(' to follow 'inline' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	184	1	KeoNgot
Error	42	error C2054: expected '(' to follow 'inline' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	190	1	KeoNgot
Error	46	error C2054: expected '(' to follow 'inline' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	196	1	KeoNgot
Error	98	error C2054: expected '(' to follow 'inline' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	95	1	KeoNgot
Error	101	error C2054: expected '(' to follow 'inline' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	106	1	KeoNgot
Error	104	error C2054: expected '(' to follow 'inline' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	157	1	KeoNgot
Error	107	error C2054: expected '(' to follow 'inline' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	163	1	KeoNgot
Error	110	error C2054: expected '(' to follow 'inline' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	169	1	KeoNgot
Error	113	error C2054: expected '(' to follow 'inline' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	184	1	KeoNgot
Error	116	error C2054: expected '(' to follow 'inline' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	190	1	KeoNgot
Error	119	error C2054: expected '(' to follow 'inline' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	196	1	KeoNgot
Error	149	error C2054: expected '(' to follow 'inline' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	95	1	KeoNgot
Error	152	error C2054: expected '(' to follow 'inline' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	106	1	KeoNgot
Error	155	error C2054: expected '(' to follow 'inline' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	157	1	KeoNgot
Error	158	error C2054: expected '(' to follow 'inline' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	163	1	KeoNgot
Error	161	error C2054: expected '(' to follow 'inline' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	169	1	KeoNgot
Error	164	error C2054: expected '(' to follow 'inline' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	184	1	KeoNgot
Error	167	error C2054: expected '(' to follow 'inline' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	190	1	KeoNgot
Error	170	error C2054: expected '(' to follow 'inline' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	196	1	KeoNgot
Error	125	error C2054: expected '(' to follow 'inline' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	95	1	KeoNgot
Error	128	error C2054: expected '(' to follow 'inline' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	106	1	KeoNgot
Error	131	error C2054: expected '(' to follow 'inline' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	157	1	KeoNgot
Error	134	error C2054: expected '(' to follow 'inline' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	163	1	KeoNgot
Error	137	error C2054: expected '(' to follow 'inline' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	169	1	KeoNgot
Error	140	error C2054: expected '(' to follow 'inline' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	184	1	KeoNgot
Error	143	error C2054: expected '(' to follow 'inline' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	190	1	KeoNgot
Error	146	error C2054: expected '(' to follow 'inline' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	196	1	KeoNgot
Error	176	error C2054: expected '(' to follow 'inline' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	95	1	KeoNgot
Error	179	error C2054: expected '(' to follow 'inline' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	106	1	KeoNgot
Error	182	error C2054: expected '(' to follow 'inline' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	157	1	KeoNgot
Error	185	error C2054: expected '(' to follow 'inline' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	163	1	KeoNgot
Error	188	error C2054: expected '(' to follow 'inline' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	169	1	KeoNgot
Error	191	error C2054: expected '(' to follow 'inline' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	184	1	KeoNgot
Error	194	error C2054: expected '(' to follow 'inline' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	190	1	KeoNgot
Error	197	error C2054: expected '(' to follow 'inline' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	196	1	KeoNgot
Error	200	error C2054: expected '(' to follow 'inline' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	95	1	KeoNgot
Error	203	error C2054: expected '(' to follow 'inline' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	106	1	KeoNgot
Error	206	error C2054: expected '(' to follow 'inline' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	157	1	KeoNgot
Error	209	error C2054: expected '(' to follow 'inline' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	163	1	KeoNgot
Error	212	error C2054: expected '(' to follow 'inline' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	169	1	KeoNgot
Error	215	error C2054: expected '(' to follow 'inline' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	184	1	KeoNgot
Error	218	error C2054: expected '(' to follow 'inline' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	190	1	KeoNgot
Error	221	error C2054: expected '(' to follow 'inline' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	196	1	KeoNgot
Error	224	error C2054: expected '(' to follow 'inline' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	95	1	KeoNgot
Error	227	error C2054: expected '(' to follow 'inline' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	106	1	KeoNgot
Error	230	error C2054: expected '(' to follow 'inline' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	157	1	KeoNgot
Error	233	error C2054: expected '(' to follow 'inline' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	163	1	KeoNgot
Error	236	error C2054: expected '(' to follow 'inline' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	169	1	KeoNgot
Error	239	error C2054: expected '(' to follow 'inline' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	184	1	KeoNgot
Error	242	error C2054: expected '(' to follow 'inline' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	190	1	KeoNgot
Error	245	error C2054: expected '(' to follow 'inline' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	196	1	KeoNgot
Error	83	error C2085: 'bucket_is_empty' : not in formal parameter list	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	58	1	KeoNgot
Error	252	error C2085: 'isinf' : not in formal parameter list	d:\cocos2dx3rc0\projects\keongot\classes\value.c	27	1	KeoNgot
Error	249	error C2085: 'isnan' : not in formal parameter list	d:\cocos2dx3rc0\projects\keongot\classes\value.c	24	1	KeoNgot
Error	68	error C2085: 'json_array_append' : not in formal parameter list (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	35	error C2085: 'json_array_append' : not in formal parameter list (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	44	error C2085: 'json_array_append' : not in formal parameter list (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	117	error C2085: 'json_array_append' : not in formal parameter list (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	168	error C2085: 'json_array_append' : not in formal parameter list (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	144	error C2085: 'json_array_append' : not in formal parameter list (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	195	error C2085: 'json_array_append' : not in formal parameter list (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	219	error C2085: 'json_array_append' : not in formal parameter list (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	243	error C2085: 'json_array_append' : not in formal parameter list (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	71	error C2085: 'json_array_insert' : not in formal parameter list (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	41	error C2085: 'json_array_insert' : not in formal parameter list (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	47	error C2085: 'json_array_insert' : not in formal parameter list (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	120	error C2085: 'json_array_insert' : not in formal parameter list (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	171	error C2085: 'json_array_insert' : not in formal parameter list (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	147	error C2085: 'json_array_insert' : not in formal parameter list (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	198	error C2085: 'json_array_insert' : not in formal parameter list (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	222	error C2085: 'json_array_insert' : not in formal parameter list (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	246	error C2085: 'json_array_insert' : not in formal parameter list (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	65	error C2085: 'json_array_set' : not in formal parameter list (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	29	error C2085: 'json_array_set' : not in formal parameter list (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	38	error C2085: 'json_array_set' : not in formal parameter list (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	114	error C2085: 'json_array_set' : not in formal parameter list (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	165	error C2085: 'json_array_set' : not in formal parameter list (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	141	error C2085: 'json_array_set' : not in formal parameter list (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	192	error C2085: 'json_array_set' : not in formal parameter list (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	216	error C2085: 'json_array_set' : not in formal parameter list (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	240	error C2085: 'json_array_set' : not in formal parameter list (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	53	error C2085: 'json_decref' : not in formal parameter list (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	6	error C2085: 'json_decref' : not in formal parameter list (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	13	error C2085: 'json_decref' : not in formal parameter list (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	102	error C2085: 'json_decref' : not in formal parameter list (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	153	error C2085: 'json_decref' : not in formal parameter list (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	129	error C2085: 'json_decref' : not in formal parameter list (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	180	error C2085: 'json_decref' : not in formal parameter list (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	204	error C2085: 'json_decref' : not in formal parameter list (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	228	error C2085: 'json_decref' : not in formal parameter list (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	50	error C2085: 'json_incref' : not in formal parameter list (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	2	error C2085: 'json_incref' : not in formal parameter list (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	7	error C2085: 'json_incref' : not in formal parameter list (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	99	error C2085: 'json_incref' : not in formal parameter list (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	150	error C2085: 'json_incref' : not in formal parameter list (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	126	error C2085: 'json_incref' : not in formal parameter list (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	177	error C2085: 'json_incref' : not in formal parameter list (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	201	error C2085: 'json_incref' : not in formal parameter list (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	225	error C2085: 'json_incref' : not in formal parameter list (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	255	error C2085: 'json_init' : not in formal parameter list	d:\cocos2dx3rc0\projects\keongot\classes\value.c	31	1	KeoNgot
Error	62	error C2085: 'json_object_iter_set' : not in formal parameter list (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	23	error C2085: 'json_object_iter_set' : not in formal parameter list (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	32	error C2085: 'json_object_iter_set' : not in formal parameter list (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	111	error C2085: 'json_object_iter_set' : not in formal parameter list (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	162	error C2085: 'json_object_iter_set' : not in formal parameter list (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	138	error C2085: 'json_object_iter_set' : not in formal parameter list (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	189	error C2085: 'json_object_iter_set' : not in formal parameter list (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	213	error C2085: 'json_object_iter_set' : not in formal parameter list (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	237	error C2085: 'json_object_iter_set' : not in formal parameter list (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	56	error C2085: 'json_object_set' : not in formal parameter list (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	12	error C2085: 'json_object_set' : not in formal parameter list (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	20	error C2085: 'json_object_set' : not in formal parameter list (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	105	error C2085: 'json_object_set' : not in formal parameter list (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	156	error C2085: 'json_object_set' : not in formal parameter list (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	132	error C2085: 'json_object_set' : not in formal parameter list (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	183	error C2085: 'json_object_set' : not in formal parameter list (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	207	error C2085: 'json_object_set' : not in formal parameter list (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	231	error C2085: 'json_object_set' : not in formal parameter list (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	59	error C2085: 'json_object_set_nocheck' : not in formal parameter list (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	17	error C2085: 'json_object_set_nocheck' : not in formal parameter list (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	26	error C2085: 'json_object_set_nocheck' : not in formal parameter list (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	108	error C2085: 'json_object_set_nocheck' : not in formal parameter list (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	159	error C2085: 'json_object_set_nocheck' : not in formal parameter list (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	135	error C2085: 'json_object_set_nocheck' : not in formal parameter list (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	186	error C2085: 'json_object_set_nocheck' : not in formal parameter list (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	210	error C2085: 'json_object_set_nocheck' : not in formal parameter list (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	234	error C2085: 'json_object_set_nocheck' : not in formal parameter list (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	74	error C2085: 'list_init' : not in formal parameter list	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	38	1	KeoNgot
Error	77	error C2085: 'list_insert' : not in formal parameter list	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	44	1	KeoNgot
Error	80	error C2085: 'list_remove' : not in formal parameter list	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	52	1	KeoNgot
Error	88	error C2085: 'num_buckets' : not in formal parameter list	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	85	1	KeoNgot
Error	75	error C2143: syntax error : missing ';' before '{'	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	38	1	KeoNgot
Error	78	error C2143: syntax error : missing ';' before '{'	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	44	1	KeoNgot
Error	81	error C2143: syntax error : missing ';' before '{'	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	52	1	KeoNgot
Error	84	error C2143: syntax error : missing ';' before '{'	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	58	1	KeoNgot
Error	89	error C2143: syntax error : missing ';' before '{'	d:\cocos2dx3rc0\projects\keongot\classes\hashtable.c	85	1	KeoNgot
Error	250	error C2143: syntax error : missing ';' before '{'	d:\cocos2dx3rc0\projects\keongot\classes\value.c	24	1	KeoNgot
Error	253	error C2143: syntax error : missing ';' before '{'	d:\cocos2dx3rc0\projects\keongot\classes\value.c	27	1	KeoNgot
Error	256	error C2143: syntax error : missing ';' before '{'	d:\cocos2dx3rc0\projects\keongot\classes\value.c	31	1	KeoNgot
Error	51	error C2143: syntax error : missing ';' before '{' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	54	error C2143: syntax error : missing ';' before '{' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	57	error C2143: syntax error : missing ';' before '{' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	60	error C2143: syntax error : missing ';' before '{' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	63	error C2143: syntax error : missing ';' before '{' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	66	error C2143: syntax error : missing ';' before '{' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	69	error C2143: syntax error : missing ';' before '{' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	72	error C2143: syntax error : missing ';' before '{' (..\Classes\dump.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	3	error C2143: syntax error : missing ';' before '{' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	8	error C2143: syntax error : missing ';' before '{' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	14	error C2143: syntax error : missing ';' before '{' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	19	error C2143: syntax error : missing ';' before '{' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	25	error C2143: syntax error : missing ';' before '{' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	31	error C2143: syntax error : missing ';' before '{' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	37	error C2143: syntax error : missing ';' before '{' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	43	error C2143: syntax error : missing ';' before '{' (..\Classes\error.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	9	error C2143: syntax error : missing ';' before '{' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	15	error C2143: syntax error : missing ';' before '{' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	22	error C2143: syntax error : missing ';' before '{' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	28	error C2143: syntax error : missing ';' before '{' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	34	error C2143: syntax error : missing ';' before '{' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	40	error C2143: syntax error : missing ';' before '{' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	45	error C2143: syntax error : missing ';' before '{' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	48	error C2143: syntax error : missing ';' before '{' (..\Classes\hashtable.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	100	error C2143: syntax error : missing ';' before '{' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	103	error C2143: syntax error : missing ';' before '{' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	106	error C2143: syntax error : missing ';' before '{' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	109	error C2143: syntax error : missing ';' before '{' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	112	error C2143: syntax error : missing ';' before '{' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	115	error C2143: syntax error : missing ';' before '{' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	118	error C2143: syntax error : missing ';' before '{' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	121	error C2143: syntax error : missing ';' before '{' (..\Classes\load.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	151	error C2143: syntax error : missing ';' before '{' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	154	error C2143: syntax error : missing ';' before '{' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	157	error C2143: syntax error : missing ';' before '{' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	160	error C2143: syntax error : missing ';' before '{' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	163	error C2143: syntax error : missing ';' before '{' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	166	error C2143: syntax error : missing ';' before '{' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	169	error C2143: syntax error : missing ';' before '{' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	172	error C2143: syntax error : missing ';' before '{' (..\Classes\memory.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	127	error C2143: syntax error : missing ';' before '{' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	130	error C2143: syntax error : missing ';' before '{' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	133	error C2143: syntax error : missing ';' before '{' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	136	error C2143: syntax error : missing ';' before '{' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	139	error C2143: syntax error : missing ';' before '{' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	142	error C2143: syntax error : missing ';' before '{' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	145	error C2143: syntax error : missing ';' before '{' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	148	error C2143: syntax error : missing ';' before '{' (..\Classes\pack_unpack.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	178	error C2143: syntax error : missing ';' before '{' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	181	error C2143: syntax error : missing ';' before '{' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	184	error C2143: syntax error : missing ';' before '{' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	187	error C2143: syntax error : missing ';' before '{' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	190	error C2143: syntax error : missing ';' before '{' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	193	error C2143: syntax error : missing ';' before '{' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	196	error C2143: syntax error : missing ';' before '{' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	199	error C2143: syntax error : missing ';' before '{' (..\Classes\strbuffer.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	202	error C2143: syntax error : missing ';' before '{' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	205	error C2143: syntax error : missing ';' before '{' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	208	error C2143: syntax error : missing ';' before '{' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	211	error C2143: syntax error : missing ';' before '{' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	214	error C2143: syntax error : missing ';' before '{' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	217	error C2143: syntax error : missing ';' before '{' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	220	error C2143: syntax error : missing ';' before '{' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	223	error C2143: syntax error : missing ';' before '{' (..\Classes\strconv.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot
Error	226	error C2143: syntax error : missing ';' before '{' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	96	1	KeoNgot
Error	229	error C2143: syntax error : missing ';' before '{' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	107	1	KeoNgot
Error	232	error C2143: syntax error : missing ';' before '{' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	158	1	KeoNgot
Error	235	error C2143: syntax error : missing ';' before '{' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	164	1	KeoNgot
Error	238	error C2143: syntax error : missing ';' before '{' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	170	1	KeoNgot
Error	241	error C2143: syntax error : missing ';' before '{' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	185	1	KeoNgot
Error	244	error C2143: syntax error : missing ';' before '{' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	191	1	KeoNgot
Error	247	error C2143: syntax error : missing ';' before '{' (..\Classes\value.c)	d:\cocos2dx3rc0\projects\keongot\classes\jansson.h	197	1	KeoNgot


#2

I think it is nothing about engine.
You should checkout the jansson lib.


#3

I have the same problem here. Why visual studio cannot compile jansson files, whereas XCode and Eclipse do compile?


#4

https://social.msdn.microsoft.com/Forums/vstudio/en-US/7d0dd512-b32c-46ea-82c8-f629df27a94b/error-c2054-expected-to-follow-inline?forum=vclanguage

JSON_INLINE is a macro which is defined in jansson_config.h
change it from inline to __inline. Than it works. I had the same error while trying easyndk and chartboost with cocos2d-x.


#5

@Michael thanks I have changed jansson_config.h to this:

#ifdef __cplusplus
#define JSON_INLINE inline
#else
#define JSON_INLINE __inline
#endif 

and it compiled and worked on Windows. Hope it will not fail on Android and iOS too.


#6

@Michael thank you very much, but for now i changed to rapidJSON what build-in cocos2dx. it’s work great with DOM selector