> > It's because XLogRecPtr is a struct.  You can't assign structs with
> > '='.  Gotta use memcpy, etc.
> 
> Correction:  It's because the compiler won't let you cast to a
> struct.  Assigning seems to compile okay.

Oh, ok - seems we can just get rid of casting there.

Vadim

Mon, 20 Nov 2000 11:13:49 -0800
"Mikheev, Vadim" <vmikheev@SECTORBASE.COM>
RE: err, XLOG/UW711/cc/Doesn't compile.
* Mikheev, Vadim <vmikheev@SECTORBASE.COM> [001120 13:29]:
> > > It's because XLogRecPtr is a struct.  You can't assign structs with
> > > '='.  Gotta use memcpy, etc.
> > 
> > Correction:  It's because the compiler won't let you cast to a
> > struct.  Assigning seems to compile okay.
> 
> Oh, ok - seems we can just get rid of casting there.
Yup, removing the cast fixes that problem, and then we run into 
Don Baccus' issue with ecpg's yacc file. 


> 
> Vadim
-- 
Larry Rosenman                      http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Mon, 20 Nov 2000 13:35:56 -0600
"'Larry Rosenman'" <ler@lerctr.org>
Re: err, XLOG/UW711/cc/Doesn't compile.