Re: [Iup-users] Compile Error for iup_str.c with visual studio 2013

2015-08-13 Thread Tao Li
I use visual studio 2013 professional. The problem here is VC can not recognize those special characters in the map[256] and map_nocase[256] array. I tried to save the file with different encoding methods and it did not help. -- Best regards Tao

Re: [Iup-users] Compile Error for iup_str.c with visual studio 2013

2015-08-13 Thread Tao Li
I use the English version of VC but the Chinese version of Windows7. Ok. I think I know what the problem is. What is the language of your VC? Scuri On Thu, Aug 13, 2015 at 2:06 PM, Tao Li tao.li.luoyang@... wrote: I use visual studio 2013 professional. The problem here is VC can not

Re: [Iup-users] Compile Error for iup_str.c with visual studio 2013

2015-08-13 Thread Antonio Scuri
That's weird. I compile IUP regularly in vc9, vc10, vc11, vc12 in 32 and 64 bits. Which vc are you using? Best, Scuri On Thu, Aug 13, 2015 at 1:10 PM, Tao Li tao.li.luoy...@gmail.com wrote: Hi, guys I have a couple of error when building iup static lib. It seems that vc can not recognize

Re: [Iup-users] Compile Error for iup_str.c with visual studio 2013

2015-08-13 Thread Antonio Scuri
Ok. Somehow that source file encoding got wrong. All those indices are 8 bit characters, so they can't be an index greater than 255. Could they have being converted during unpack? The original file encoding is Latin-1 charset (ISO8859-1), and it must be compiled in that way. Best, Scuri Em

[Iup-users] Compile Error for iup_str.c with visual studio 2013

2015-08-13 Thread Tao Li
Hi, guys I have a couple of error when building iup static lib. It seems that vc can not recognize the latin characters. iup_str.c iup_str.c(1191) : error C2015: too many characters in constant iup_str.c(1191) : error C2059: syntax error : ']' iup_str.c(1192) : error C2015: too many characters