[Bf-blender-cvs] [8b2b79c2108] master: Cleanup: quiet missing variable declaration warning
Campbell Barton
noreply at git.blender.org
Thu Jun 6 02:30:00 CEST 2019
Commit: 8b2b79c2108b6ef94247b14f68710b7cbee42aec
Author: Campbell Barton
Date: Thu Jun 6 10:26:32 2019 +1000
Branches: master
https://developer.blender.org/rB8b2b79c2108b6ef94247b14f68710b7cbee42aec
Cleanup: quiet missing variable declaration warning
===================================================================
M source/creator/buildinfo.c
===================================================================
diff --git a/source/creator/buildinfo.c b/source/creator/buildinfo.c
index 7843a25c037..c476694e4b5 100644
--- a/source/creator/buildinfo.c
+++ b/source/creator/buildinfo.c
@@ -27,7 +27,21 @@
#ifdef BUILD_DATE
-/* currently only these are defined in the header */
+extern char build_date[];
+extern char build_time[];
+extern char build_hash[];
+extern unsigned long build_commit_timestamp;
+extern char build_commit_date[];
+extern char build_commit_time[];
+extern char build_branch[];
+extern char build_platform[];
+extern char build_type[];
+extern char build_cflags[];
+extern char build_cxxflags[];
+extern char build_linkflags[];
+extern char build_system[];
+
+/* Currently only these are defined in the header. */
char build_date[] = BUILD_DATE;
char build_time[] = BUILD_TIME;
char build_hash[] = BUILD_HASH;
More information about the Bf-blender-cvs
mailing list