diff options
author | zturner@chromium.org <zturner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-12 01:29:56 +0000 |
---|---|---|
committer | zturner@chromium.org <zturner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-12 01:29:56 +0000 |
commit | d31c53449787ba09aaea6251d9ac878669218817 (patch) | |
tree | 21b0a1f8bfb68792651848d252b675ff6706d58b | |
parent | 7ef58d5b9c29dd112bbf98febe1854588ff7e04d (diff) | |
download | chromium_src-d31c53449787ba09aaea6251d9ac878669218817.zip chromium_src-d31c53449787ba09aaea6251d9ac878669218817.tar.gz chromium_src-d31c53449787ba09aaea6251d9ac878669218817.tar.bz2 |
Workaround for VS2013 compiler bug in ipc_message_macros.h
BUG=288948
Review URL: https://codereview.chromium.org/23455048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228298 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ipc/ipc_message_macros.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ipc/ipc_message_macros.h b/ipc/ipc_message_macros.h index cd03680..9f2a6b9 100644 --- a/ipc/ipc_message_macros.h +++ b/ipc/ipc_message_macros.h @@ -1010,7 +1010,14 @@ #endif // IPC_IPC_MESSAGE_MACROS_H_ +// The following #ifdef cannot be removed. Although the code is semantically +// equivalent without the #ifdef, VS2013 contains a bug where it is +// over-aggressive in optimizing out #includes. Putting the #ifdef is a +// workaround for this bug. See http://goo.gl/eGt2Fb for more details. +// This can be removed once VS2013 is fixed. +#ifdef IPC_MESSAGE_START // Clean up IPC_MESSAGE_START in this unguarded section so that the // XXX_messages.h files need not do so themselves. This makes the // XXX_messages.h files easier to write. #undef IPC_MESSAGE_START +#endif
\ No newline at end of file |