[Libpqxx-general] Build of tests fail with Sun Studio due to nested template parsing confusion
Bjorn Munch
Bjorn.Munch at sun.com
Mon Aug 25 08:13:43 UTC 2008
On 23/08 03.41, Jeroen Vermeulen wrote:
> Bjorn Munch wrote:
>
> > When the macro is expanded with the second argument using a template,
> > it results in an expression with ">>", which apparently confuses the
> > parser as it sees the >> operator.
>
> Good job finding that out. I feel pretty stupid for having overlooked
> this in the macro expansion.
Oh, I'm sure you're not the first one to do this. :-) It took me quite
some time to see what was wrong, it' not obvious.
> Fixed in revision 1385.
Thanks, our test now runs fine without my local patch.
--
Bjorn Munch Sun Microsystems
Trondheim, Norway http://sun.com/postgresql/
More information about the Libpqxx-general
mailing list