emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warnings/errors related to possibly clobbered variables


From: Eli Zaretskii
Subject: Re: Warnings/errors related to possibly clobbered variables
Date: Tue, 13 Jan 2015 18:21:48 +0200

> Date: Tue, 13 Jan 2015 15:12:52 +0300
> From: Dmitry Antipov <address@hidden>
> Cc: address@hidden, address@hidden
> 
> On 01/13/2015 02:51 PM, Andreas Schwab wrote:
> 
> >    case $with_x_toolkit in
> >      lucid | athena | motif)
> >         # Old toolkits mishandle 'const'.
> >         nw="$nw -Wwrite-strings"
> >         ;;
> >      *)
> >         gl_WARN_ADD([-Werror], [WERROR_CFLAGS])
> >         ;;
> >    esac
> 
> Yes, but the question really was "how seriously we should treat
> warnings about XXX which might be clobbered by YYY" :-).

Why not declare the offending variables 'volatile' and forget about
all this stuff?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]