Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(186)

Issue 29520043: Make libaddressinput compile on Windows with MSVS. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by Dan Beam
Modified:
10 years, 5 months ago
Base URL:
https://chromium.googlesource.com/external/libaddressinput.git@master
Visibility:
Public.

Description

Make libaddressinput compile on Windows with MSVS. Without this I get these errors while trying to integrate into Chrome (and hence, compiling on Windows): third_party\libaddressinput\src\cpp\src\region_data_constants.cc(470) : warning C4566: character represented by universal-character-name u3012 cannot be represented in the current code page (1252) R=roubert@google.com BUG=3

Patch Set 1 #

Patch Set 2 : \x #

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : \x #

Patch Set 5 : stupid vim #

Total comments: 2

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M cpp/src/region_data_constants.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19
Dan Beam
i haven't been able to try this (windows build locked down at the moment), but ...
10 years, 5 months ago (2013-11-20 07:46:54 UTC) #1
roubert (google)
On 2013/11/20 07:46:54, dbeam wrote: > warning C4566: character represented by universal-character-name u3012 cannot > ...
10 years, 5 months ago (2013-11-20 08:08:19 UTC) #2
Dan Beam
On 2013/11/20 08:08:19, roubert wrote: > On 2013/11/20 07:46:54, dbeam wrote: > > > warning ...
10 years, 5 months ago (2013-11-20 08:33:44 UTC) #3
Rouslan Solomakhin
On 2013/11/20 08:33:44, dbeam wrote: > On 2013/11/20 08:08:19, roubert wrote: > > On 2013/11/20 ...
10 years, 5 months ago (2013-11-20 19:12:10 UTC) #4
Rouslan Solomakhin
For Japan, the format from http://i18napis.appspot.com/address/data/JP is "〒%Z%n%S%C%n%A%n%O%n%N".
10 years, 5 months ago (2013-11-20 19:13:32 UTC) #5
roubert (google)
On 2013/11/20 19:12:10, Rouslan Solomakhin wrote: > I suggest that you try the literal string ...
10 years, 5 months ago (2013-11-20 19:19:52 UTC) #6
Rouslan Solomakhin
You're right. Visual Studio compiler silently fails to parse the literals. We can specify '#pramga ...
10 years, 5 months ago (2013-11-21 20:08:24 UTC) #7
roubert (google)
On 2013/11/21 20:08:24, Rouslan Solomakhin wrote: > (〒 is 3 code points.) Just to not ...
10 years, 5 months ago (2013-11-21 21:35:23 UTC) #8
Rouslan Solomakhin
https://codereview.appspot.com/29520043/diff/40001/cpp/src/region_data_constants.cc File cpp/src/region_data_constants.cc (right): https://codereview.appspot.com/29520043/diff/40001/cpp/src/region_data_constants.cc#newcode94 cpp/src/region_data_constants.cc:94: "\"fmt\":\"%O%n%N%n%A%nAX-%Z %C%n\xC3\x85LAND\"" Please add an end of line comment ...
10 years, 5 months ago (2013-11-21 21:56:13 UTC) #9
Dan Beam
On 2013/11/21 21:35:23, roubert wrote: > On 2013/11/21 20:08:24, Rouslan Solomakhin wrote: > > > ...
10 years, 5 months ago (2013-11-21 22:15:28 UTC) #10
Dan Beam
https://codereview.appspot.com/29520043/diff/40001/cpp/src/region_data_constants.cc File cpp/src/region_data_constants.cc (right): https://codereview.appspot.com/29520043/diff/40001/cpp/src/region_data_constants.cc#newcode94 cpp/src/region_data_constants.cc:94: "\"fmt\":\"%O%n%N%n%A%nAX-%Z %C%n\xC3\x85LAND\"" On 2013/11/21 21:56:14, Rouslan Solomakhin wrote: > ...
10 years, 5 months ago (2013-11-21 22:15:33 UTC) #11
Rouslan Solomakhin
https://codereview.appspot.com/29520043/diff/100001/cpp/src/region_data_constants.cc File cpp/src/region_data_constants.cc (right): https://codereview.appspot.com/29520043/diff/100001/cpp/src/region_data_constants.cc#newcode94 cpp/src/region_data_constants.cc:94: "\"fmt\":\"%O%n%N%n%A%nAX-%Z %C%n\xC3\x85LAND\"" // \xC3\x85 is Å. Two spaces before ...
10 years, 5 months ago (2013-11-21 22:16:16 UTC) #12
Dan Beam
https://codereview.appspot.com/29520043/diff/100001/cpp/src/region_data_constants.cc File cpp/src/region_data_constants.cc (right): https://codereview.appspot.com/29520043/diff/100001/cpp/src/region_data_constants.cc#newcode94 cpp/src/region_data_constants.cc:94: "\"fmt\":\"%O%n%N%n%A%nAX-%Z %C%n\xC3\x85LAND\"" // \xC3\x85 is Å. On 2013/11/21 22:16:17, ...
10 years, 5 months ago (2013-11-21 22:17:22 UTC) #13
Rouslan Solomakhin
Fredrik: I've verified that this compiles in Windows. I can't think of a unit test ...
10 years, 5 months ago (2013-11-21 22:20:41 UTC) #14
roubert (google)
On 2013/11/21 22:20:41, Rouslan Solomakhin wrote: > Fredrik: I've verified that this compiles in Windows. ...
10 years, 5 months ago (2013-11-22 02:25:27 UTC) #15
roubert (google)
LGTM
10 years, 5 months ago (2013-11-22 02:25:46 UTC) #16
Rouslan Solomakhin
Committed: https://code.google.com/p/libaddressinput/source/detail?r=166
10 years, 5 months ago (2013-11-22 18:49:27 UTC) #17
Dan Beam
On 2013/11/22 18:49:27, Rouslan Solomakhin wrote: > Committed: https://code.google.com/p/libaddressinput/source/detail?r=166 Thanks!
10 years, 5 months ago (2013-11-22 20:59:07 UTC) #18
Rouslan Solomakhin
10 years, 5 months ago (2013-11-22 22:11:41 UTC) #19
On 2013/11/22 20:59:07, dbeam wrote:
> On 2013/11/22 18:49:27, Rouslan Solomakhin wrote:
> > Committed: https://code.google.com/p/libaddressinput/source/detail?r=166
> 
> Thanks!

Dan: Can you please close this CL? Only you have the power.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b