Oz and Mozart Users Mailing List

Re: gcc 3.3.1 naughtiness


From: Kevin Glynn (glynn@info.ucl.ac.be)
Date: Thu Nov 20 2003 - 18:47:48 CET


Christian Schulte writes:
> This was meant to be on hackers right?
>

Well, I sent it there. Why do you think it wasn't on hackers? We
don't seem to be receiving the hackers and users lists any more.
Breakage after the recent mail loop?

>From my current understanding of C++ I think the nested braces would
only make sense if OZ_Term was an array, structure, or union. I'll
commit the change.

k

> As I did this stuff, I have to admit that I can't quite remember. From my
> current understanding of C++ the curly braces make no sense (as I am not
> passing an argument to a constructor).
>
> Hmmm
> Christian
>

> "Kevin Glynn" <glynn@info.ucl.ac.be> wrote in message
> news:16315.34673.911965.725458@s-ensor.info.ucl.ac.be...
> >
> >
> >
> > The offending code is:
> >
> > OZ_Term arity_def[] = {
> > {OZ_pair2(atom_solver, RILPSolve::getSolverAtom())},
> > {OZ_pair2(atom_mode, RILPSolve::getModeAtom())},
> > {OZ_pair2(atom_avail, solver_list)},
> > {(OZ_Term) 0}
> > };
> >
> > And all is well (well, it compiles!) if I reqrite this as
> >
> > OZ_Term arity_def[] = {
> > OZ_pair2(atom_solver, RILPSolve::getSolverAtom()),
> > OZ_pair2(atom_mode, RILPSolve::getModeAtom()),
> > OZ_pair2(atom_avail, solver_list),
> > (OZ_Term) 0
> > };
> >
-
Please send submissions to hackers@mozart-oz.org
and administriva mail to hackers-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.