<div dir="ltr">-DSPHINX_WARNINGS_AS_ERRORS=OFF<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 10, 2020 at 4:47 PM Gábor Márton via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Balázs, <div><br></div><div>I call ninja with -v to see the underlying command which are executed:</div><div>`ninja docs-clang-html -v`</div><div>This shows me that sphinx-build is executed with -W, and that switch handles all warnings as errors. Just remove that switch and the check will go on and you'll see if your modified doc files creates any new warnings or not.</div><div><br></div><div>Gabor </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 10, 2020 at 11:08 AM Balázs Kéri via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I want to compile the clang documentation but get warnings treated as errors that prevent the compilation. Many warnings come from "clang/docs/ClangCommandLineReference.rst" because "Duplicate explicit target name", for example in line 18, 182, 370, 468, 484, 522, 596, ... (then I stopped to fix these). How to exactly fix these or is this a real problem at all? (The llvm/docs/ReleaseNotes.rst file has problems too with not indented bullet list.) I use sphinx with python3.<br><br>Balázs Kéri</div>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>