[xsde-users] xsd/e: Compiler warnings from copy ctor of var_const_iterator (sequence.hxx:428)

Jonathan Haws Jonathan.Haws at sdl.usu.edu
Tue Nov 3 10:39:08 EST 2020


On Tue, 2020-11-03 at 15:17 +0200, Boris Kolpackov wrote:
> Yes, that copy assignment operator should not be necessary. However,
> I've fixed this[1] by adding the matching copy constructor. From the
> commit message:
> 
> "Instead of adding the copy constructor we could have also dropped
> the copy
> assignment since it is identical to what would be implied. It's not,
> however,
> clear why it was added in the first place (it was added before we
> started
> tracking development with git). Chances are, some old and broken
> compiler is
> confused by the other assignment operator. So to be on the safe side
> we
> rather add the copy constructor."
> 

This is exactly what I needed.  Thanks!

> 
> Is there a newer version of xsd/e that I can use?
> 
> 3.2.0 is the latest official release. There are some pre-release
> snapshots[2] but they don't include this fix. The easiest is
> probably just to patch your copy of 3.2.0.

Acknowledged.  Will there be a new release in the near future? In the
meantime, we'll likely just point to this commit.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5562 bytes
Desc: not available
Url : https://codesynthesis.com/pipermail/xsde-users/attachments/20201103/e8dca813/smime.bin


More information about the xsde-users mailing list