[Ada] Add Sphinx option -W to treat warnings as errors
authorBen Brosgol <brosgol@adacore.com>
Thu, 11 Jan 2018 08:52:59 +0000 (08:52 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 11 Jan 2018 08:52:59 +0000 (08:52 +0000)
2018-01-11  Ben Brosgol  <brosgol@adacore.com>

gcc/ada/

* doc/Makefile: Add Sphinx option -W to treat warnings as errors.

From-SVN: r256506

gcc/ada/ChangeLog
gcc/ada/doc/Makefile

index 538bd902b4658a60856ce7985bc0ea79ba80a85c..9681fbd9713287c30e7ca24a1af186e91f57a396 100644 (file)
@@ -1,3 +1,7 @@
+2018-01-11  Ben Brosgol  <brosgol@adacore.com>
+
+       * doc/Makefile: Add Sphinx option -W to treat warnings as errors.
+
 2018-01-11  Ben Brosgol  <brosgol@adacore.com>
 
        * doc/gnat_rm/implementation_defined_aspects.rst: Minor type/wording
index 812cc8f288ca6fa71ad9886fedce54f06e9a4abc..a2a9d7a2cb1be83d137f3e4bb8a3c5ebb4a2d61e 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile for Sphinx documentation
 
 # You can set these variables from the command line.
-SPHINXOPTS    =
+SPHINXOPTS    = -W
 SPHINXBUILD   = DOC_NAME=$* sphinx-build
 PAPER         =
 BUILDDIR      = build