[EMAIL PROTECTED] writes:
>               bool dummy = conv.To->dummy() && conv.to != "program";
> -             if (!dummy)
> +             if (!dummy) {
>                       LYXERR(Debug::FILES) << "Converting from  "
>                              << conv.from << " to " << conv.to << endl;
> +             }
>               infile = outfile;

So the code is like

   if (!dummy)
      if (!lyxerr.debugging(Debug::FILES)) ; else lyxerr << "Converting from  "
                               << conv.from << " to " << conv.to << endl;

Isn't there some documented trick that avoids this warning? Having to
add braces around the second if is not nice.

Is there a way with gcc to silence a warning at a given place?


JMarc

Reply via email to