From: Shankar Easwaran Date: Tue, 22 Jan 2013 04:12:03 +0000 (+0000) Subject: it looks like g++ 4.7.2 doesnot like bit fields when the type is a enumeration (Throw... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7176430dce1549c2be88b0d98eeb90a7d22204b;p=platform%2Fupstream%2Fllvm.git 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) llvm-svn: 173125 --- diff --git a/lld/include/lld/Core/LinkerOptions.h b/lld/include/lld/Core/LinkerOptions.h index 57bf322..3c2529a 100644 --- a/lld/include/lld/Core/LinkerOptions.h +++ b/lld/include/lld/Core/LinkerOptions.h @@ -174,7 +174,7 @@ struct LinkerOptions { std::string _outputPath; std::string _entrySymbol; uint64_t _baseAddress; - OutputKind _outputKind : 2; + OutputKind _outputKind; /// \brief -### unsigned _outputCommands : 1; unsigned _outputYAML : 1;