From: VMware, Inc <> Date: Mon, 26 Jul 2010 18:49:34 +0000 (-0700) Subject: Bug 580142: internal compiler error: output_operand: invalid X-Git-Tag: 2010.07.25-280253~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dffde762df7182e0eaec9a472a81de4985fce7e1;p=thirdparty%2Fopen-vm-tools.git Bug 580142: internal compiler error: output_operand: invalid We did not touch the function for long time. I guess that some recent gcc bug caused the problem. This will work around the compiler error. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/dndGuest/dndFileList.cc b/open-vm-tools/lib/dndGuest/dndFileList.cc index a2d8123c5..6cc933345 100644 --- a/open-vm-tools/lib/dndGuest/dndFileList.cc +++ b/open-vm-tools/lib/dndGuest/dndFileList.cc @@ -411,7 +411,7 @@ std::string DnDFileList::GetRelPathsStr() const { - std::string stringList; + std::string stringList(""); std::vector::const_iterator i; for (i = mRelPaths.begin(); i != mRelPaths.end(); ++i) {