Re: [C--] Cannot compute string literal length correctly

Ning Wang <[email protected]> Sat, 04 Apr 2009 23:51:33 -0700
Newsgroups gmane.comp.lang.c--
Message-ID <[email protected]>
Norman Ramsey wrote:
>  > If a string literal contains escaped characters, qc-- cannot compute 
>  > string length correctly.
>  > 
>  >  str__a_da_488298433_1:
>  >  bits8 [3] "\031\139\000";  // qc-- reports Error: too many initial values
>
> Consult the manual; your string literal has four characters:
>
>   \031 \13 9 \000
>
>   
Many thanks for all the help.


It seems qc-- don't complain about this  assignment "bits160[_fr] = 
bits160[_fa]".  
In general, can I say an assignment of the form "bitsN[a] = bitsN[b]", 
where N is a constant dividable by memsize 8,  is legal in C--.

Thanks,
Ning
_______________________________________________
Cminusminus mailing list
[email protected]
https://www.eecs.harvard.edu/mailman/listinfo/cminusminus