[Bug 39131] New: CommandObjectType.cpp:1063:7: error: cannot initialize aggregate of type 'const lldb_private::OptionDefinition [2]' with a compound literal

Bug ID 39131
Summary CommandObjectType.cpp:1063:7: error: cannot initialize aggregate of type ‘const lldb_private::OptionDefinition [2]’ with a compound literal
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity release blocker
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter sylvestre@debian.org
CC llvm-bugs@lists.llvm.org

Build of lldb is broken 

/build/llvm-toolchain-snapshot-8~svn343377/tools/lldb/source/Commands/CommandObjectType.cpp:1063:7:
error: cannot initialize aggregate of type 'const
lldb_private::OptionDefinition [2]' with a compound literal
       };
       ^
with gcc 4.9 on Ubuntu trusty i386.

Tatyana Krasnukha changed bug 39131

What | Removed | Added |

Comment # 1 on bug 39131 from Tatyana Krasnukha

Created attachment 20945 [details]
The patch with fix

Please, try this patch. Cannot check because unable to reproduce the error on
my Linux with gcc 4.9.