SA-MP Forums Archive
2 errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 2 errors (/showthread.php?tid=280325)



2 errors - CaTaLinU - 31.08.2011

Код:
F:\Pawno 0.3c\include\JunkBuster.inc(3248) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
F:\SAMP\HDRP.pwn(11112) : warning 209: function "JB_OnPlayerConnect" should return a value
F:\SAMP\HDRP.pwn(32119) : warning 219: local variable "string" shadows a variable at a preceding level
F:\SAMP\HDRP.pwn(32120) : warning 217: loose indentation
F:\SAMP\HDRP.pwn(32974) : error 021: symbol already defined: "strtok"
F:\SAMP\HDRP.pwn(32989) : error 047: array sizes do not match, or destination array is too small
F:\SAMP\HDRP.pwn(44651) : warning 217: loose indentation
F:\SAMP\HDRP.pwn(44694) : warning 217: loose indentation
F:\SAMP\HDRP.pwn(64931) : warning 219: local variable "div" shadows a variable at a preceding level
F:\SAMP\HDRP.pwn(32121) : warning 204: symbol is assigned a value that is never used: "vehicle3Dtext"
F:\SAMP\HDRP.pwn(32116) : warning 204: symbol is assigned a value that is never used: "vehicle_id"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
This are Lines 32973 - 32990
Код:
	return 1;
}
strtok(const string[], &index)
{
	new length = strlen(string);
	while ((index < length) && (string[index] <= ' '))
	{
		index++;
	}

	new offset = index;
	new result[20];
	while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
	{
		result[index - offset] = string[index];
		index++;
	}
	result[index - offset] = EOS;
	return result;
}
I have tried to add #pragma unused strtok but nothing

I have tried to delete strtok(const string[], &index) but Pawno Compiler Library crashed

I don't know what to do

Sorry for my English, this is not the language that i speak


Re: 2 errors - [MG]Dimi - 31.08.2011

You sure you didnt want to use stock?


Re: 2 errors - CaTaLinU - 31.08.2011

what ?


Re: 2 errors - [MG]Dimi - 31.08.2011

Stock is used when you want to like create new function. What do you wanna make?


Re: 2 errors - [MWR]Blood - 31.08.2011

You defined strtok twice.
Maybe you already have an include that is containing its definition, or you pasted it somewhere in your gamemode and you forgot, as far as I can see it has a huge amount of lines.


Re : 2 errors - Naruto_Emilio - 31.08.2011

You've defined Strtok two times and maybe you lost a barete


Re: 2 errors - CaTaLinU - 31.08.2011

Down are the Lines where i have used strtok
Код:
F:\SAMP\HDRP.pwn (326 hits)
	Line 5302: //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=adminspec_strtok=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	Line 5304: adminspec_strtok(const string[], &index)
	Line 32973: strtok(const string[], &index)
	Line 34755: 	cmd = strtok(cmdtext, idx);
	Line 34889: 				tmp = strtok(cmdtext, idx);
	Line 34914: 				tmp = strtok(cmdtext, idx);
	Line 34976: 			tmp = strtok(cmdtext, idx);
	Line 35019: 			tmp = strtok(cmdtext, idx);
	Line 35028: 			tmp = strtok(cmdtext, idx);
	Line 35347: 			tmp = strtok(cmdtext, idx);
	Line 35384: 				tmp = strtok(cmdtext, idx);
	Line 35449: 	    	tmp = strtok(cmdtext, idx);
	Line 35515: 	    	tmp = strtok(cmdtext, idx);
	Line 35615: 	    tmp = strtok(cmdtext, idx);
	Line 35617:       	tmp2 = strtok(cmdtext, idx);
	Line 35732: 		tmp = adminspec_strtok(cmdtext, idx);
	Line 35792: 			tmp = strtok(cmdtext, idx);
	Line 35802: 			tmp = strtok(cmdtext, idx);
	Line 35829: 	    	tmp = strtok(cmdtext, idx);
	Line 35924: 		tmp = strtok(cmdtext, idx);
	Line 35967: 			tmp = strtok(cmdtext, idx);
	Line 36272: 			tmp = strtok(cmdtext, idx);
	Line 36292: 					x_fs = strtok(cmdtext, idx);
	Line 36346: 			tmp = strtok(cmdtext, idx);
	Line 36384: 		    tmp = strtok(cmdtext, idx);
	Line 36769: 			x_nr = strtok(cmdtext, idx);
	Line 37347: 		    tmp = strtok(cmdtext,idx);
	Line 37680: 			tmp = strtok(cmdtext, idx);
	Line 37727: 			tmp = strtok(cmdtext, idx);
	Line 37736: 			tmp = strtok(cmdtext, idx);
	Line 37768: 	    	tmp = strtok(cmdtext, idx);
	Line 37890: 			tmp = strtok(cmdtext, idx);
	Line 37939: 			tmp = strtok(cmdtext, idx);
	Line 37981: 			tmp = strtok(cmdtext, idx);
	Line 38030: 			tmp = strtok(cmdtext, idx);
	Line 38079: 		tmp = strtok(cmdtext, idx);
	Line 38132: 			tmp = strtok(cmdtext, idx);
	Line 38141: 			tmp = strtok(cmdtext, idx);
	Line 38178: 			tmp = strtok(cmdtext, idx);
	Line 38187: 			tmp = strtok(cmdtext, idx);
	Line 38218: 		tmp = strtok(cmdtext, idx);
	Line 38301: 				x_nr = strtok(cmdtext, idx);
	Line 38309: 		            tmp = strtok(cmdtext, idx);
	Line 38338: 		            tmp = strtok(cmdtext, idx);
	Line 38367: 		            tmp = strtok(cmdtext, idx);
	Line 38396: 		            tmp = strtok(cmdtext, idx);
	Line 38425: 		            tmp = strtok(cmdtext, idx);
	Line 38454: 		            tmp = strtok(cmdtext, idx);
	Line 38494: 	            tmp = strtok(cmdtext, idx);
	Line 38548: 			x_nr = strtok(cmdtext, idx);
	Line 38564: 			    tmp = strtok(cmdtext, idx);
	Line 38613: 			    tmp = strtok(cmdtext, idx);
	Line 38647: 	        tmp = strtok(cmdtext, idx);
	Line 38720: 			x_mk = strtok(cmdtext, idx);
	Line 38729: 			    tmp = strtok(cmdtext, idx);
	Line 38851: 			    tmp = strtok(cmdtext, idx);
	Line 38913: 			    tmp = strtok(cmdtext, idx);
	Line 38959: 			    tmp = strtok(cmdtext, idx);
	Line 38997: 			    tmp = strtok(cmdtext, idx);
	Line 39025: 				tmp = strtok(cmdtext, idx);
	Line 39049: 				tmp = strtok(cmdtext, idx);
	Line 39084: 			tmp = strtok(cmdtext, idx);
	Line 39093: 			tmp = strtok(cmdtext, idx);
	Line 39129: 			tmp = strtok(cmdtext, idx);
	Line 39136: 			tmp = strtok(cmdtext, idx);
	Line 39234: 			tmp = strtok(cmdtext, idx);
	Line 39248: 			tmp = strtok(cmdtext, idx);
	Line 39312: 			tmp = strtok(cmdtext, idx);
	Line 39377: 			tmp = strtok(cmdtext, idx);
	Line 39386: 			tmp = strtok(cmdtext, idx);
	Line 39558: 			tmp = strtok(cmdtext, idx);
	Line 39587: 			tmp = strtok(cmdtext, idx);
	Line 39792: 			tmp = strtok(cmdtext, idx);
	Line 39863: 			tmp = strtok(cmdtext, idx);
	Line 39936: 			tmp = strtok(cmdtext, idx);
	Line 39985: 			tmp = strtok(cmdtext, idx);
	Line 40019: 			tmp = strtok(cmdtext, idx);
	Line 40030: 			tmp = strtok(cmdtext, idx);
	Line 40058: 			tmp = strtok(cmdtext, idx);
	Line 40095: 			tmp = strtok(cmdtext, idx);
	Line 40104: 			tmp = strtok(cmdtext, idx);
	Line 40134: 			tmp = strtok(cmdtext, idx);
	Line 40143: 			tmp = strtok(cmdtext, idx);
	Line 40174: 			tmp = strtok(cmdtext, idx);
	Line 40183: 			tmp = strtok(cmdtext, idx);
	Line 40192: 			tmp = strtok(cmdtext, idx);
	Line 40248: 			tmp = strtok(cmdtext, idx);
	Line 40274: 			tmp = strtok(cmdtext, idx);
	Line 40298: 			tmp = strtok(cmdtext, idx);
	Line 40307: 			tmp = strtok(cmdtext, idx);
	Line 40345: 			tmp = strtok(cmdtext, idx);
	Line 40354: 			tmp = strtok(cmdtext, idx);
	Line 40391: 			tmp = strtok(cmdtext, idx);
	Line 40434: 			tmp = strtok(cmdtext, idx);
	Line 40443: 			tmp = strtok(cmdtext, idx);
	Line 40481: 	    	tmp = strtok(cmdtext, idx);
	Line 40562: 	    	tmp = strtok(cmdtext, idx);
	Line 40644: 	    	tmp = strtok(cmdtext, idx);
	Line 40745: 	    	tmp = strtok(cmdtext, idx);
	Line 40818: 	    	tmp = strtok(cmdtext, idx);
	Line 40918: 	    	tmp = strtok(cmdtext, idx);
	Line 41123: 			tmp = strtok(cmdtext, idx);
	Line 41409: 			tmp = strtok(cmdtext, idx);
	Line 41517: 				tmp = strtok(cmdtext, idx);
	Line 41573: 			tmp = strtok(cmdtext, idx);
	Line 41584: 			tmp = strtok(cmdtext, idx);
	Line 41623: 	        tmp = strtok(cmdtext, idx);
	Line 41663: 	        tmp = strtok(cmdtext, idx);
	Line 41709: 			tmp = strtok(cmdtext, idx);
	Line 41718: 			tmp = strtok(cmdtext, idx);
	Line 41761: 			tmp = strtok(cmdtext, idx);
	Line 41815: 			tmp = strtok(cmdtext, idx);
	Line 41829: 					tmp = strtok(cmdtext, idx);
	Line 41840: 					tmp = strtok(cmdtext, idx);
	Line 42061: 			tmp = strtok(cmdtext, idx);
	Line 42072: 			tmp = strtok(cmdtext, idx);
	Line 42082: 			tmp = strtok(cmdtext, idx);
	Line 42114: 			tmp = strtok(cmdtext, idx);
	Line 42123: 			tmp = strtok(cmdtext, idx);
	Line 42202: 			tmp = strtok(cmdtext, idx);
	Line 42213: 			tmp = strtok(cmdtext, idx);
	Line 42215: 			tmp = strtok(cmdtext, idx);
	Line 42217: 			tmp = strtok(cmdtext, idx);
	Line 42242: 				tmp = strtok(cmdtext, idx);
	Line 42266: 			tmp = strtok(cmdtext, idx);
	Line 42303: 			tmp = strtok(cmdtext, idx);
	Line 42341: 				tmp = strtok(cmdtext, idx);
	Line 42366: 				tmp = strtok(cmdtext, idx);
	Line 42393: 			x_job = strtok(cmdtext, idx);
	Line 42401: 			tmp = strtok(cmdtext, idx);
	Line 42758: 				tmp = strtok(cmdtext, idx);
	Line 42792: 				tmp = strtok(cmdtext, idx);
	Line 42902: 				tmp = strtok(cmdtext, idx);
	Line 43119: 				tmp = strtok(cmdtext, idx);
	Line 43228: 				tmp = strtok(cmdtext, idx);
	Line 43342: 				tmp = strtok(cmdtext, idx);
	Line 43407: 				tmp = strtok(cmdtext, idx);
	Line 43455: 				tmp = strtok(cmdtext, idx);
	Line 43497: 			tmp = strtok(cmdtext, idx);
	Line 43505: 			tmp = strtok(cmdtext, idx);
	Line 43696: 			tmp = strtok(cmdtext, idx);
	Line 43729: 			tmp = strtok(cmdtext, idx);
	Line 43738: 			tmp = strtok(cmdtext, idx);
	Line 43755: 		cmd = strtok(cmdtext, idx);
	Line 43756: 		tmp = strtok(cmdtext, idx);
	Line 44975: 	        x_nr = strtok(cmdtext, idx);
	Line 45052: 						tmp = strtok(cmdtext, idx);
	Line 45067: 							            tmp = strtok(cmdtext, idx);
	Line 45274:                     locked = strtok(cmdtext, idx);
	Line 45318:                     locked = strtok(cmdtext, idx);
	Line 45368: 	        	tmp = strtok(cmdtext, idx);
	Line 45381: 				tmp = strtok(cmdtext, idx);
	Line 45520: 	        x_nr = strtok(cmdtext, idx);
	Line 45686:                     locked = strtok(cmdtext, idx);
	Line 45736: 	        	tmp = strtok(cmdtext, idx);
	Line 45749: 				tmp = strtok(cmdtext, idx);
	Line 45853: 	        x_nr = strtok(cmdtext, idx);
	Line 46019:                     locked = strtok(cmdtext, idx);
	Line 46069: 	        	tmp = strtok(cmdtext, idx);
	Line 46082: 				tmp = strtok(cmdtext, idx);
	Line 46391: 		  x_job = strtok(cmdtext, idx);
	Line 46413: 			tmp = strtok(cmdtext, idx);
	Line 46501: 			tmp = strtok(cmdtext, idx);
	Line 46589: 			tmp = strtok(cmdtext, idx);
	Line 46677: 			tmp = strtok(cmdtext, idx);
	Line 46765: 			tmp = strtok(cmdtext, idx);
	Line 46853: 			tmp = strtok(cmdtext, idx);
	Line 46941: 			tmp = strtok(cmdtext, idx);
	Line 47029: 			tmp = strtok(cmdtext, idx);
	Line 47117: 			tmp = strtok(cmdtext, idx);
	Line 47205: 			tmp = strtok(cmdtext, idx);
	Line 47293: 			tmp = strtok(cmdtext, idx);
	Line 47381: 			tmp = strtok(cmdtext, idx);
	Line 48542: 			x_nr = strtok(cmdtext, idx);
	Line 48622: 			tmp = strtok(cmdtext, idx);
	Line 48709: 			tmp = strtok(cmdtext, idx);
	Line 48806: 			tmp = strtok(cmdtext, idx);
	Line 48815: 			tmp = strtok(cmdtext, idx);
	Line 48974: 				x_nr = strtok(cmdtext, idx);
	Line 49008: 			tmp = strtok(cmdtext, idx);
	Line 49016: 			tmp = strtok(cmdtext, idx);
	Line 49097: 			tmp = strtok(cmdtext, idx);
	Line 49162: 				tmp = strtok(cmdtext, idx);
	Line 49329: 				tmp = strtok(cmdtext, idx);
	Line 49355: 				tmp = strtok(cmdtext, idx);
	Line 49511: 			tmp = strtok(cmdtext, idx);
	Line 50598: 			tmp = strtok(cmdtext, idx);
	Line 50646: 			tmp = strtok(cmdtext, idx);
	Line 50655: 			tmp = strtok(cmdtext, idx);
	Line 50976: 			tmp = strtok(cmdtext, idx);
	Line 51256: 			tmp = strtok(cmdtext, idx);
	Line 51334: 			tmp = strtok(cmdtext, idx);
	Line 51416: 			tmp = strtok(cmdtext, idx);
	Line 51654: 					    tmp = strtok(cmdtext, idx);
	Line 52004: 		tmp = strtok(cmdtext, idx);
	Line 52051: 			tmp = strtok(cmdtext, idx);
	Line 52089: 			tmp = strtok(cmdtext, idx);
	Line 52205: 			tmp = strtok(cmdtext, idx);
	Line 52295: 			tmp = strtok(cmdtext, idx);
	Line 52369: 			tmp = strtok(cmdtext, idx);
	Line 52457: 			tmp = strtok(cmdtext, idx);
	Line 52542: 			tmp = strtok(cmdtext, idx);
	Line 52572: 			tmp = strtok(cmdtext, idx);
	Line 52614: 			tmp = strtok(cmdtext, idx);
	Line 52697: 			tmp = strtok(cmdtext, idx);
	Line 52827: 			tmp = strtok(cmdtext, idx);
	Line 53035: 			x_nr = strtok(cmdtext, idx);
	Line 53161: 				x_nr = strtok(cmdtext, idx);
	Line 53169: 		            tmp = strtok(cmdtext, idx);
	Line 53198: 		            tmp = strtok(cmdtext, idx);
	Line 53227: 		            tmp = strtok(cmdtext, idx);
	Line 53256: 		            tmp = strtok(cmdtext, idx);
	Line 53285: 		            tmp = strtok(cmdtext, idx);
	Line 53314: 		            tmp = strtok(cmdtext, idx);
	Line 53359: 	            tmp = strtok(cmdtext, idx);
	Line 53402: 	            tmp = strtok(cmdtext, idx);
	Line 53448: 	        tmp = strtok(cmdtext, idx);
	Line 53552: 				x_nr = strtok(cmdtext, idx);
	Line 53650: 					tmp = strtok(cmdtext, idx);
	Line 53686: 				    tmp = strtok(cmdtext, idx);
	Line 53722: 				    tmp = strtok(cmdtext, idx);
	Line 53729: 					tmp = strtok(cmdtext, idx);
	Line 53783: 	            tmp = strtok(cmdtext, idx);
	Line 53837: 	            tmp = strtok(cmdtext, idx);
	Line 53846: 	            tmp = strtok(cmdtext, idx);
	Line 53907: 	            tmp = strtok(cmdtext, idx);
	Line 53947: 				tmp = strtok(cmdtext, idx);
	Line 53989: 	        tmp = strtok(cmdtext, idx);
	Line 54062: 	        tmp = strtok(cmdtext, idx);
	Line 54120: 	        tmp = strtok(cmdtext, idx);
	Line 54164: 			x_nr = strtok(cmdtext, idx);
	Line 54173: 			    tmp = strtok(cmdtext, idx);
	Line 54190: 				        tmp = strtok(cmdtext, idx);
	Line 54217: 			    tmp = strtok(cmdtext, idx);
	Line 54232: 				    tmp = strtok(cmdtext, idx);
	Line 54252: 			    tmp = strtok(cmdtext, idx);
	Line 54288: 			    tmp = strtok(cmdtext, idx);
	Line 54324: 			    tmp = strtok(cmdtext, idx);
	Line 54407: 				    tmp = strtok(cmdtext, idx);
	Line 54561: 	        tmp = strtok(cmdtext, idx);
	Line 54583: 			x_nr = strtok(cmdtext, idx);
	Line 54597: 			    tmp = strtok(cmdtext, idx);
	Line 54673: 			    tmp = strtok(cmdtext, idx);
	Line 54749: 			    tmp = strtok(cmdtext, idx);
	Line 54883: 			x_job = strtok(cmdtext, idx);
	Line 54923: 				    tmp = strtok(cmdtext, idx);
	Line 54985: 					tmp = strtok(cmdtext, idx);
	Line 55036: 			        tmp = strtok(cmdtext, idx);
	Line 55093: 			    tmp = strtok(cmdtext, idx);
	Line 55190: 				x_nr = strtok(cmdtext, idx);
	Line 55197: 		            tmp = strtok(cmdtext, idx);
	Line 55222: 				        tmp = strtok(cmdtext, idx);
	Line 55372: 	        tmp = strtok(cmdtext, idx);
	Line 55401: 				x_nr = strtok(cmdtext, idx);
	Line 55413: 				    tmp = strtok(cmdtext, idx);
	Line 55446: 				    tmp = strtok(cmdtext, idx);
	Line 55479: 				    tmp = strtok(cmdtext, idx);
	Line 55512: 				    tmp = strtok(cmdtext, idx);
	Line 55545: 				    tmp = strtok(cmdtext, idx);
	Line 55582: 				    tmp = strtok(cmdtext, idx);
	Line 55615: 				    tmp = strtok(cmdtext, idx);
	Line 55736: 	        tmp = strtok(cmdtext, idx);
	Line 55782: 				x_nr = strtok(cmdtext, idx);
	Line 55835: 			x_nr = strtok(cmdtext, idx);
	Line 55938: 			    tmp = strtok(cmdtext, idx);
	Line 56018: 			    tmp = strtok(cmdtext, idx);
	Line 56077: 			x_nr = strtok(cmdtext, idx);
	Line 56092: 			    tmp = strtok(cmdtext, idx);
	Line 56220: 			    tmp = strtok(cmdtext, idx);
	Line 56232: 				tmp = strtok(cmdtext, idx);
	Line 56610: 					    tmp = strtok(cmdtext, idx);
	Line 56633: 					    tmp = strtok(cmdtext, idx);
	Line 56677: 	        tmp = strtok(cmdtext, idx);
	Line 56787: 	            x_nr = strtok(cmdtext, idx);
	Line 56869: 				    tmp = strtok(cmdtext, idx);
	Line 57621: 			tmp = strtok(cmdtext, idx);
	Line 57677: 			tmp = strtok(cmdtext, idx);
	Line 57684: 			tmp = strtok(cmdtext, idx);
	Line 57796: 	        tmp = strtok(cmdtext, idx);
	Line 57907: 	        tmp = strtok(cmdtext, idx);
	Line 57976: 			tmp = strtok(cmdtext, idx);
	Line 57984: 			tmp = strtok(cmdtext, idx);
	Line 58081: 			x_nr = strtok(cmdtext, idx);
	Line 58096: 			        tmp = strtok(cmdtext, idx);
	Line 58168: 			tmp = strtok(cmdtext, idx);
	Line 58181: 					x_weapon = strtok(cmdtext, idx);
	Line 58248: 			x_job = strtok(cmdtext, idx);
	Line 58269: 			    tmp = strtok(cmdtext, idx);
	Line 58584: 			    tmp = strtok(cmdtext, idx);
	Line 58659: 			    tmp = strtok(cmdtext, idx);
	Line 58732: 		    tmp = strtok(cmdtext, idx);
	Line 58793: 			tmp = strtok(cmdtext, idx);
	Line 58801: 			tmp = strtok(cmdtext, idx);
	Line 58854: 			tmp = strtok(cmdtext, idx);
	Line 58910: 			x_job = strtok(cmdtext, idx);
	Line 59018: 			x_job = strtok(cmdtext, idx);
	Line 59804: 			    tmp = strtok(cmdtext, idx);
	Line 60116: 			tmp = strtok(cmdtext, idx);
	Line 60125: 			tmp = strtok(cmdtext, idx);
	Line 60168: 			tmp = strtok(cmdtext, idx);
	Line 60177: 			tmp = strtok(cmdtext, idx);
	Line 60602: 				tmp = strtok(cmdtext, idx);
	Line 60657: 			tmp = strtok(cmdtext, idx);
	Line 60667: 			tmp = strtok(cmdtext, idx);
	Line 60671: 			tmp = strtok(cmdtext, idx);
	Line 60807: 				tmp = strtok(cmdtext, idx);
	Line 60867: 				tmp = strtok(cmdtext, idx);
	Line 60875: 				tmp = strtok(cmdtext, idx);
	Line 60933: 			tmp = strtok(cmdtext, idx);
	Line 61174: 	    	tmp = strtok(cmdtext, idx);
	Line 61181:             tmp = strtok(cmdtext, idx);
	Line 61258: 				tmp = strtok(cmdtext, idx);
	Line 61266: 				tmp = strtok(cmdtext, idx);
	Line 61274: 				tmp = strtok(cmdtext, idx);
	Line 61282: 				tmp = strtok(cmdtext, idx);
	Line 61365: 			tmp = strtok(cmdtext, idx);
	Line 61372: 			tmp = strtok(cmdtext, idx);
	Line 61950: 	    tmp = strtok(text, idx);
	Line 62127: 	    tmp = strtok(text, idx);
	Line 62339: 	    tmp = strtok(text, idx);
	Line 62353: 				x_nr = strtok(text, idx);
	Line 62480: 					x_tel = strtok(text, idx);
	Line 62565: 		    tmp = strtok(text, idx);
	Line 62642: 		    tmp = strtok(text, idx);
	Line 62787: 	    tmp = strtok(text, idx);
	Line 62825: 		tmp = strtok(text, idx);
An ideea?