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

Issue 7134018: Don't wrap system headers with extern "C" (Closed)

Created:
9 years, 6 months ago by eaeltsin
Modified:
9 years, 6 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
http://git.chromium.org/native_client/nacl-gcc.git@master
Visibility:
Public.

Description

Don't wrap system headers with extern "C" Implicit wrapping of system header files with extern "C" is controlled by NO_IMPLICIT_EXTERN_C macro. This macro is defined in gcc/config/linux.h (gcc/config/gnu-user.h in newer versions of gcc), which included on x86 linux systems (see gcc/config.gcc). This change defines this macro for nacl. BUG=http://code.google.com/p/nativeclient/issues/detail?id=1896 TEST=see the bug R=pasko@google.com,krasin@google.com Committed: http://git.chromium.org/gitweb?p=native_client/nacl-gcc.git;a=commit;h=bbb8426

Patch Set 1 #

Total comments: 2

Patch Set 2 : Ready for commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M gcc/config/i386/nacl.h View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
eaeltsin
9 years, 6 months ago (2011-06-08 14:06:52 UTC) #1
pasko-google - do not use
LGTM http://codereview.chromium.org/7134018/diff/1/gcc/config/i386/nacl.h File gcc/config/i386/nacl.h (right): http://codereview.chromium.org/7134018/diff/1/gcc/config/i386/nacl.h#newcode40 gcc/config/i386/nacl.h:40: /* Don't assume anything about the header files. ...
9 years, 6 months ago (2011-06-08 14:37:25 UTC) #2
khim
LGTM
9 years, 6 months ago (2011-06-08 14:39:27 UTC) #3
eaeltsin
9 years, 6 months ago (2011-06-08 15:34:22 UTC) #4
http://codereview.chromium.org/7134018/diff/1/gcc/config/i386/nacl.h
File gcc/config/i386/nacl.h (right):

http://codereview.chromium.org/7134018/diff/1/gcc/config/i386/nacl.h#newcode40
gcc/config/i386/nacl.h:40: /* Don't assume anything about the header files.  */
On 2011/06/08 14:37:25, pasko wrote:
> please, remove this useless comment

Rephrased.

Powered by Google App Engine
This is Rietveld 408576698