[llvm-commits] [lld] r173125 - /lld/trunk/include/lld/Core/LinkerOptions.h

Shankar Easwaran shankare at codeaurora.org
Mon Jan 21 20:12:03 PST 2013


Author: shankare
Date: Mon Jan 21 22:12:03 2013
New Revision: 173125

URL: http://llvm.org/viewvc/llvm-project?rev=173125&view=rev
Log:
it looks like g++ 4.7.2 doesnot like bit fields when the type is a enumeration (Throws an error as bit-field with non integral type)

Modified:
    lld/trunk/include/lld/Core/LinkerOptions.h

Modified: lld/trunk/include/lld/Core/LinkerOptions.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/LinkerOptions.h?rev=173125&r1=173124&r2=173125&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/LinkerOptions.h (original)
+++ lld/trunk/include/lld/Core/LinkerOptions.h Mon Jan 21 22:12:03 2013
@@ -174,7 +174,7 @@
   std::string _outputPath;
   std::string _entrySymbol;
   uint64_t _baseAddress;
-  OutputKind _outputKind : 2;
+  OutputKind _outputKind;
   /// \brief -###
   unsigned _outputCommands : 1;
   unsigned _outputYAML : 1;





More information about the llvm-commits mailing list