# print all fatal error of compilation to end of stdout

**URL:** <https://discourse.cmake.org/t/print-all-fatal-error-of-compilation-to-end-of-stdout/2320>\
**Category:** Code\
**Created:** [December 9, 2020, 10:48am UTC](https://discourse.cmake.org/t/print-all-fatal-error-of-compilation-to-end-of-stdout/2320 "2020-12-09T10:48:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grimgort](https://discourse.cmake.org/user_avatar/discourse.cmake.org/grimgort/32/1002_2.png) [@grimgort](https://discourse.cmake.org/u/grimgort)\
**Post date:** [December 9, 2020, 10:48am UTC](https://discourse.cmake.org/t/print-all-fatal-error-of-compilation-to-end-of-stdout/2320/1 "2020-12-09T10:48:51Z")

</div>

Hello,

I would like to have all fatal compilation errors at the end of the standard output or in a log file.  
Also, is the standard output also redirected to a cmake log file? If you don’t forget to rewrite it manually, you risk losing the info.

---

<div class="post-metadata">

**Author:** ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)\
**Post date:** [December 9, 2020, 5:55pm UTC](https://discourse.cmake.org/t/print-all-fatal-error-of-compilation-to-end-of-stdout/2320/2 "2020-12-09T17:55:03Z")

</div>

Do you mean the errors from the build or the configure step? You should be able to split stdout and stderr then paste them together after the fact to put stderr at the end. But there’s nothing in CMake itself (or the build tools) that does that AFAIK.

---

<div class="post-metadata">

**Author:** ![grimgort](https://discourse.cmake.org/user_avatar/discourse.cmake.org/grimgort/32/1002_2.png) [@grimgort](https://discourse.cmake.org/u/grimgort)\
**Post date:** [December 10, 2020, 3:24pm UTC](https://discourse.cmake.org/t/print-all-fatal-error-of-compilation-to-end-of-stdout/2320/3 "2020-12-10T15:24:20Z")

</div>

ok thanks.

I am too demanding ^^
