[cfe-dev] -Wunused-value gets triggered only when storing/using intermediate outputs

Lubos Lunak via cfe-dev cfe-dev at lists.llvm.org
Wed Jan 15 01:30:34 PST 2020


On Tuesday 14 of January 2020, Nehal J Wani via cfe-dev wrote:
> On Mon, Dec 30, 2019 at 2:03 PM Nehal J Wani <nehaljw.kkd1 at gmail.com> wrote:
...
> > Questions:
> > - Is this report of unused value legit? GCC doesn't warn anything on the
> > same snippet. - Is this behavior expected? Why does the warning throw up
> > only when the end user wants to do anything with the intermediate
> > outputs? I ended up here because this was failing my project when I was
> > trying to use distcc.
> >
> >
> >
> > Cheers!
> >
> > Nehal J Wani
>
> I was suggested at #llvm to send a ping! :-)


 I already answered your questions on Jan 5th. If you missed the mail, check 
the archives.

-- 
 Lubos Lunak


More information about the cfe-dev mailing list