PORTA = 0 will not trigger a warning as 0 or 1 is a valid byte.

Sunish


On Sat, Apr 20, 2013 at 1:47 PM, Oliver Seitz <[email protected]> wrote:

>
>
> Can we have some kind of compile time warning on assigning bit to
> portdirections ?
>
>
> We have:
>
> warning: assignment to smaller type; truncation possible
>
> You want an additional
>
> warning: assignment to larger type
>
>
> A statement like PORTA = 0 would trigger this warning, no?
>
> Greets,
> Kiste
>
>
>
>     --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/jallib?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to