This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][GOLD] Fix build breakage on OSX due to unintended macro substitution.


Hi,

    This is fixes one of the problems that break OSX build of gold.
The problem is caused by an implicit inclusion of assert.h in library
headers we use and a use of assert as an argument to the macro
DEFINE_var.

-Doug

2010-01-10  Doug Kwan  <dougkwan@google.com>

        * options.h (EMPTY_PARAMETER_LIST): New macro.
        (DEFINE_var): Use EMPTY_PARAMETER_LIST to avoid unintended subsequent
        macro substitutions.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]