aboutsummaryrefslogtreecommitdiffstats
path: root/version_info.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-09-02 23:20:27 +0000
committerGuy Harris <guy@alum.mit.edu>2011-09-02 23:20:27 +0000
commit12074249cb83ad65b8639b4e5122dce77d3dfb65 (patch)
tree5cb124087a76c2b0d87f73f769be4a92eda9e50e /version_info.c
parentd94e18e4b3333027ea0890737d5fb8bed178f5d1 (diff)
Update some comments, including a new URL, and add an additional
comment. svn path=/trunk/; revision=38874
Diffstat (limited to 'version_info.c')
-rw-r--r--version_info.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/version_info.c b/version_info.c
index 7a4f62b018..8f4c304484 100644
--- a/version_info.c
+++ b/version_info.c
@@ -501,16 +501,20 @@ get_runtime_version_info(GString *str, void (*additional_info)(GString *))
/* Compiler info */
/*
- * See http://predef.sourceforge.net/precomp.html for
+ * See https://sourceforge.net/apps/mediawiki/predef/index.php?title=Compilers
* information on various defined strings.
*
* GCC's __VERSION__ is a nice text string for humans to
- * read. The page at predef.sourceforge.net largely
- * describes numeric #defines that encode the version;
- * if the compiler doesn't also offer a nice printable
- * string, we should probably prettify the number somehow.
+ * read. The page at sourceforge.net largely describes
+ * numeric #defines that encode the version; if the compiler
+ * doesn't also offer a nice printable string, we try prettifying
+ * the number somehow.
*/
#if defined(__GNUC__) && defined(__VERSION__)
+ /*
+ * Clang and llvm-gcc also define __GNUC__ and __VERSION__;
+ * distinguish between them.
+ */
#if defined(__clang__)
g_string_append_printf(str, "\n\nBuilt using clang %s.\n", __VERSION__);
#elif defined(__llvm__)