Special build procedure?

Benedikt Huber benedikt.huber at gmail.com
Sun Jul 12 17:34:11 EDT 2009


On 02.07.2009, at 19:54, Bueno, Denis wrote:
> I'm using the current darcs language-c (0.3.3).  In
> Language.C.Analysis.SemRep, it appears the Cnode instance for  
> DeclEvent has
> missing cases.  But all those instances are auto-generated.  How can I
> re-generate the instances so it covers all cases?

Hi Denis,
apparently the usage of derive changed (Instead of -I, -u has to be  
used now).
Again, thanks for the report, both the script and SemRep.hs has been  
fixed in the darcs repository.

benedikt

On 07.07.2009, at 23:51, Bueno, Denis wrote:

> On 7/3/09 2:25 AM, "Benedikt Huber" <benedikt.huber at gmail.com> wrote:
>
>> Hi Denis,
>> Thanks for the report.
>> It should be sufficient to run language-c/src/derive.sh (using Neil
>> Mitchell's derive), I hope.
>> Unfortunately, deriving the instances isn't fully integrated into  
>> the build
>> process.
>> I'm currently travelling, but will commit a patch when back home.
>
> I managed to get all the instances derived, but for some reason it  
> wasn't
> straightforward:
>
>  - I had to import NodeDerive in the three relevant files manually  
> before
> the derivation process would succeed.
>  - Then, I had to remove that import, lest compilation fail.
>
> Anyway, it works.
>
>                              Denis
>
>




More information about the Language-c mailing list