[riot-notifications] [RIOT-OS/RIOT] Warn when casts do no preserve qualifiers (-Wcast-qual) (#10177)
notifications at github.com
Fri Jan 4 21:23:56 CET 2019
> My main point here is that there is no point in setting a rule only to break it later. Why make something const if later we ignore the const?
I agree with @jcarrano
> (the case with volatile is different, because nothing can break by not making a variable const, but it can break by not making it volatile).
Here I disagree, I **do** think it is bad to ignore `volatile`. It is explicitly written as undefined behaviour .
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications