[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Build Error at SVN\TSVNPath.cpp

From: Masaru Tsuchiyama <tsuchiyama_at_asahi-net.email.ne.jp>
Date: 2006-02-05 11:56:35 CET

Hi.

I got a compile error with Visual Studio 2005 Japanese Edition
at line 1198 in SVN\TSVNPath.cpp.
  testPath.SetFromUnknown(_T("http://testing special chars ...));
  (... is garbled in my environment.

the compile error is C2001 ("newline in constant")

the line has the following bytes sequence in hexadeimal.
   20 E4 F6 FC 22 29 29 3B 0D 0A
   
     "20" is a space. ' '
     "22" is a double qoute. '"'
     "29" is a right parenthesis ')'
     "3B" is a semicoloum ';'

The Japanese VS2005 trys to treat non-ascii charactors as
Japanese charactors(Shift Jis code)

Shift Jis charactors are consisted of two bytes.
byte data between 0x80 and 0xff are leading bytes and
trailing bytes follow.

the Japanese VS2005 can't find trailing double qoute
because it treats as following.

    20 E4 F6 FC 22 29 29 3B 0D 0A

       "20" is a space. ' '
       "E4 F6" is a charactor.
       "FC 22" is a charactor too.
       "29" is a right parenthesis ')'
       "3B" is a semicoloum ';'

Masaru Tsuchiyama

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Feb 5 11:56:43 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.