This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [trans-mem] Fix compilation of libitm with recent gcc


Patrick Marlier <patrick.marlier@unine.ch> writes:

> Here the error when gcc compiles libitm:
>
> ../../../transactional-memory/libitm/aatree.h: In constructor
> âGTM::aa_node_base::aa_node_base(GTM::aa_node_base::level_type)â:
> ../../../transactional-memory/libitm/aatree.h:53:16: error:
> list-initializer for non-class type must not be parenthesized
> [-Werror]
>
> The fix just consists to remove the parenthesis.

I have run into the same problem while doing a merge from trunk.  This
will be fixed (with your patch ;-)) once I commit in the next few days.

Oh yeah, expect many changes to the branch once I commit.  We hadn't
done a merge in almost 1.5 years.

Thanks Patrick.


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