Re: [Fresco-devel] fresco repository URLs

Stefan Seefeld <[email protected]> Mon, 06 Feb 2006 18:13:45 -0500
Newsgroups gmane.comp.video.fresco.devel
Message-ID <[email protected]>
Hi Nick,

Nick Lewycky wrote:
> Stefan Seefeld wrote:
> 
>>I was asked in particular about the original Fresco code, which, as you
>>can easily find out, doesn't compile with modern tools (I'v checked in
>>two small fixes already, but I expect many more.)
> 
> 
> I got it running a couple of years ago. The changes were almost entirely
> due to const-correctness issues. It seems like there's a whole lot of
> generated code, which I fixed by hand, instead of fixing the generator.
> 
> Unfortunately, I no longer have a copy due to disk space. I remember
> that it took most of an evening to get running again.

Ok, I got it running last night. I apparently had one patch fixed some years
ago. This time it was mostly about replacing <iostream.h> by <iostream>
and assorted additions of 'std::'.
The only major issue was with the ixx translator, which has a broken grammar,
as it doesn't expect line controls at arbitrary positions (e.g.

# 25 "foobar.h"

, which g++ happens to emit. As the translator still requires them to decide
whether or not to generate code (i.e. depending on whether you are in the
'main file'), I hacked around it by letting the scanner skip all but the
important line markers.

The only issue that remains is a warning now, which is due to a macro
using something similar to the 'addressof' operator, but on non-POD
types (the structs in question define non-trivial constructors...).

Bottom line: Fresco98 now runs fine on my laptop (and, apparently, for
at least one other user, too), and I had some fun last night with fdraw. :-)

The changes are checked in as of last night (the new subversion repository
I posted about last time).

Thanks,
		Stefan