On 2014-01-09 20:57:15 -0800, Ben Pfaff wrote:
> So threading is supported with -pedantic but yields warnings?

For the C11 threading method, yes, because this is a C11 feature
used in C90 mode.

> Then I'd want the build to fail with -Werror,

No, because alternative solutions may exist (at worst, threading
should be disabled at configure time).

> exactly so that I can fix the warnings.

No, the warning is a feature:

  warning: ISO C90 does not support '_Thread_local' [-Wpedantic]

The MPFR configure tests whether the C11 feature _Thread_local works
in the current mode (here C90), and I expect this test to fail so that
one can test the behavior of a MPFR build with a C90-only compiler,
which mustn't fail.

> I don't see a problem here. In my opinion, -Werror is a developer
> tool, not a mode for building.

So what? This is exactly the way I use -Werror.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to