This is the mail archive of the
mailing list for the binutils project.
Re: Assign integers explicity to enum values corresponding to the plugin API
>> On Mon, Feb 11, 2013 at 11:01 AM, Sriraman Tallam <firstname.lastname@example.org> wrote:
>>> This patch assigns explicit integers to enum values corresponding
>>> to the plugin API. This patch helps preventing problems while
>>> cherry-picking plugin-api.h changes from trunk gold to local branches.
>>> For instance, a linker plugin compiled with a cherry-picked
>>> plugin-api.h header with some enum values missing will behave
>>> strangely when used with a linker built with the up to date header.
This is OK.