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

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 4 00:39:41 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39131

Sylvestre Ledru <sylvestre at debian.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #4 from Sylvestre Ledru <sylvestre at debian.org> ---
Still fails with Debian jessie:
$ cd
"/build/llvm-toolchain-snapshot-8~svn343751/build-llvm/tools/lldb/source/Commands"
&& /usr/bin/g++-4.9   -DHAVE_ROUND -DLLDB_CONFIGURATION_RELEASE -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I"/build/llvm-toolchain-snapshot-8~svn343751/build-llvm/tools/lldb/source/Commands"
-I"/build/llvm-toolchain-snapshot-8~svn343751/tools/lldb/source/Commands"
-I"/build/llvm-toolchain-snapshot-8~svn343751/build-llvm/tools/lldb/include"
-I"/build/llvm-toolchain-snapshot-8~svn343751/tools/lldb/include"
-I"/build/llvm-toolchain-snapshot-8~svn343751/build-llvm/include"
-I"/build/llvm-toolchain-snapshot-8~svn343751/include" -I/usr/include/python2.7
-I"/build/llvm-toolchain-snapshot-8~svn343751/tools/clang/include"
-I"/build/llvm-toolchain-snapshot-8~svn343751/build-llvm/tools/lldb/../clang/include"
-I"/build/llvm-toolchain-snapshot-8~svn343751/tools/lldb/source/." 
-fuse-ld=gold -Wl,--no-keep-files-mapped -Wl,--no-map-whole-files -fPIC
-fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment
-ffunction-sections -fdata-sections -Wno-deprecated-declarations
-Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register
-Wno-vla-extension -O2 -DNDEBUG    -fno-exceptions -o
CMakeFiles/lldbCommands.dir/CommandObjectType.cpp.o -c
"/build/llvm-toolchain-snapshot-8~svn343751/tools/lldb/source/Commands/CommandObjectType.cpp"
/build/llvm-toolchain-snapshot-8~svn343751/tools/lldb/source/Commands/CommandObjectType.cpp:
In member function 'llvm::ArrayRef<lldb_private::OptionDefinition>
CommandObjectTypeFormatterList<FormatterType>::CommandOptions::GetDefinitions()':
/build/llvm-toolchain-snapshot-8~svn343751/tools/lldb/source/Commands/CommandObjectType.cpp:1063:7:
error: cannot initialize aggregate of type 'const
lldb_private::OptionDefinition [2]' with a compound literal
       };
       ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181004/d29cf665/attachment.html>


More information about the llvm-bugs mailing list