pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/compiler



Module Name:    pkgsrc
Committed By:   gdt
Date:           Thu Jul  2 13:26:29 UTC 2026

Modified Files:
        pkgsrc/mk/compiler: gcc.mk

Log Message:
mk/compiler/gcc.mk: Update C dialect comments

Be more precise about what gcc documents, including noting that C99
formally requires gcc 5 but we say 3 (and that it's been ok and use of
pre-5 is rare, so don't worry).

This is a comment-only change.


To generate a diff of this commit:
cvs rdiff -u -r1.310 -r1.311 pkgsrc/mk/compiler/gcc.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/compiler/gcc.mk
diff -u pkgsrc/mk/compiler/gcc.mk:1.310 pkgsrc/mk/compiler/gcc.mk:1.311
--- pkgsrc/mk/compiler/gcc.mk:1.310     Thu Jul  2 13:21:03 2026
+++ pkgsrc/mk/compiler/gcc.mk   Thu Jul  2 13:26:29 2026
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.310 2026/07/02 13:21:03 gdt Exp $
+# $NetBSD: gcc.mk,v 1.311 2026/07/02 13:26:29 gdt Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -194,12 +194,16 @@ GCC_REQD+=        2.8
 GCC_REQD+=     10.0
 .endif
 
-# 4.9 supports c11; don't reject it by rounding up to 5
+# gcc documents that 4.9 supports c11.  Don't reject it by rounding up
+# to 5.
 .if !empty(USE_CC_FEATURES:Mc11)
 GCC_REQD+=     4.9
 .endif
 
 .if !empty(USE_CC_FEATURES:Mc99)
+# gcc documents that full support requires gcc 5, but most features
+# appear in 3.  Choose not to worry, because use of pre-gcc-5 is rare
+# and problems have not surfaced.
 GCC_REQD+=     3
 .endif
 



Home | Main Index | Thread Index | Old Index