Matthias --

Thanks for the suggestion.  I made the changes you posted and the
compilation worked. 

Next question: Why was the @ in the noweb stuff?

If it doens't belong I can check my cleaned up files into CVS.  Any
objections from the other developers?  Any idea why the @ was in there
in the first place?

Stuart


> 
> Stuart Brorson wrote:
> > Any ideas what's going on?  Perhaps notangle is failing to translate
> > all the noweb stuff?
> 
> This is the right guess. You want to apply this patch (or remove the '@' 
> manually):
> 
> 
> 
> diff -Nur geda-orig-28-12-2005/devel/libgeda/noweb/s_encoding.nw 
> geda/devel/libgeda/noweb/s_encoding.nw
> --- geda-orig-28-12-2005/devel/libgeda/noweb/s_encoding.nw 
> 2005-11-27 01:28:10.000000000 +0100
> +++ geda/devel/libgeda/noweb/s_encoding.nw      2005-12-28 
> 11:16:48.000000000 +0100
> @@ -149,10 +149,10 @@
>         srclen -= 3;
> 
>         output[0] = (input[0] >> 2);
> -      output[1] = ((input[0] & 0x03) @<< 4) +
> -       (input[1] @>> 4);
> -      output[2] = ((input[1] & 0x0f) @<< 2) +
> -       (input[2] @>> 6);
> +      output[1] = ((input[0] & 0x03) << 4) +
> +       (input[1] >> 4);
> +      output[2] = ((input[1] & 0x0f) << 2) +
> +       (input[2] >> 6);
>         output[3] = (input[2] & 0x3f);
> 
>         g_assert ((dstpos + 4) < *dstlenp);
> @@ -177,10 +177,10 @@
>          input[i] = *src++;
> 
>         output[0] = (input[0] >> 2);
> -      output[1] = ((input[0] & 0x03) @<< 4) +
> -       (input[1] @>> 4);
> -      output[2] = ((input[1] & 0x0f) @<< 2) +
> -       (input[2] @>> 6);
> +      output[1] = ((input[0] & 0x03) << 4) +
> +       (input[1] >> 4);
> +      output[2] = ((input[1] & 0x0f) << 2) +
> +       (input[2] >> 6);
> 
>         g_assert ((dstpos + 4) < *dstlenp);
> 
> 

Reply via email to