Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: work-around for ghs


  • To: VSIPL++ Developers List <vsipl++@xxxxxxxxxxxxxxxx>
  • Subject: PATCH: work-around for ghs
  • From: Stefan Seefeld <stefan@xxxxxxxxxxxxxxxx>
  • Date: Thu, 10 Nov 2005 19:21:35 -0500

The attached patch is necessary to work around ghs getting confused
by different overloads of operators '&', '|', and '^'.

FYI.

Regards,
		Stefan
Index: src/vsip/vector.hpp
===================================================================
RCS file: /home/cvs/Repository/vpp/src/vsip/vector.hpp,v
retrieving revision 1.34
diff -r1.34 vector.hpp
265,267c265,267
<   VSIP_IMPL_ASSIGN_OP(&=, &)
<   VSIP_IMPL_ASSIGN_OP(|=, |)
<   VSIP_IMPL_ASSIGN_OP_NOFWD(^=, ^) // Remove NOFWD when operator^ implented
---
>   VSIP_IMPL_ASSIGN_OP_NOFWD(&=, &) // Use the NOFWD variant or else 
>   VSIP_IMPL_ASSIGN_OP_NOFWD(|=, |) //   ghs will be confused
>   VSIP_IMPL_ASSIGN_OP_NOFWD(^=, ^)