Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1349)

Issue 10834017: Fix the definition of kIllegalPort in dart_api.h. (Closed)

Created:
8 years, 5 months ago by nweiz
Modified:
8 years, 4 months ago
Reviewers:
turnidge
CC:
reviews_dartlang.org, Anton Muhin
Visibility:
Public.

Description

Fix the definition of kIllegalPort in dart_api.h. Declaring a variable directly in a header will cause C to be unable to link multiple object files that both include that header, even if that variable is const. Committed: https://code.google.com/p/dart/source/detail?r=10135

Patch Set 1 #

Patch Set 2 : Use a #define to avoid undefined symbols in Dart extension shared objects. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -20 lines) Patch
M runtime/bin/directory.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/bin/file.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/bin/socket.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/include/dart_api.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M samples/sample_extension/sample_extension.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
nweiz
8 years, 5 months ago (2012-07-25 23:10:02 UTC) #1
turnidge
8 years, 4 months ago (2012-07-31 20:23:21 UTC) #2
LGTM

You will need to coordinate with Anton when you submit this to make sure that
you do not break the dartium build.

Todd

Powered by Google App Engine
This is Rietveld 408576698