aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-21 02:50:27 +0000
committerUlrich Müller <ulm@gentoo.org>2021-03-30 20:14:56 +0200
commitf72795c60b475cc36501ed03b7b3a03c38bcf851 (patch)
treebf5fe62d490c4809f0a1ce917d67ed9ffe141f91 /ebuild-writing
parentebuild-writing/common-mistakes: s/GLIBC/glibc/ (diff)
downloaddevmanual-f72795c60b475cc36501ed03b7b3a03c38bcf851.tar.gz
devmanual-f72795c60b475cc36501ed03b7b3a03c38bcf851.tar.bz2
devmanual-f72795c60b475cc36501ed03b7b3a03c38bcf851.zip
ebuild-writing/common-mistakes: mention "the compiler", not only GCC
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'ebuild-writing')
-rw-r--r--ebuild-writing/common-mistakes/text.xml15
1 files changed, 8 insertions, 7 deletions
diff --git a/ebuild-writing/common-mistakes/text.xml b/ebuild-writing/common-mistakes/text.xml
index 6f33248..9455688 100644
--- a/ebuild-writing/common-mistakes/text.xml
+++ b/ebuild-writing/common-mistakes/text.xml
@@ -176,13 +176,14 @@ Always check that it's really gone in the build log.
<p><b>Specific -Werror=... flags</b></p>
<p>
-GCC can turn any specific warning into an error. A specific -Werror flag would
-be "-Werror=implicit-function-declaration" for example and will only affect
-warnings about implicit function declarations. It's mostly safe to leave these
-untouched, cause they are pinned to this issue and should not cause random
-build time breakage. Also, we can expect that upstream did this on purpose to
-avoid known runtime errors and not just for testing their builds. However you
-should check the specified warnings yourself or ask other developers if unsure.
+The compiler (e.g. GCC) can turn any specific warning into an error. A
+specific -Werror flag would be "-Werror=implicit-function-declaration" for
+example and will only affect warnings about implicit function declarations. It's
+mostly safe to leave these untouched, cause they are pinned to this issue and
+should not cause random build time breakage. Also, we can expect that upstream
+did this on purpose to avoid known runtime errors and not just for testing their
+builds. However, you should check the specified warnings yourself or ask other
+developers if unsure.
</p>
<p><b>Exceptions</b></p>