Change 34575 by [EMAIL PROTECTED] on 2008/10/24 21:41:36
Make C++ compilers happy #2: const POD without initializer
is an error for g++, even when static.
Affected files ...
... //depot/perl/perl.c#877 edit
Differences ...
==== //depot/perl/perl.c#877 (text) ====
Index: perl/perl.c
--- perl/perl.c#876~34568~ 2008-10-24 09:35:48.000000000 -0700
+++ perl/perl.c 2008-10-24 14:41:36.000000000 -0700
@@ -662,7 +662,7 @@
int f;
const char *where;
/* Our success message is an integer 0, and a char 0 */
- static const char success[sizeof(int) + 1];
+ static const char success[sizeof(int) + 1] = {0};
close(fd[0]);
End of Patch.