Mercurial > projects > ldc
diff gen/optimizer.cpp @ 1281:29d3861aa2da
Make sure this still compiles after LLVM r70437, which introduces a
specialization for command-line option template parser<char> which does the
wrong thing for us...
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Thu, 30 Apr 2009 12:25:04 +0200 |
parents | bedf0bfb8fdb |
children | 91d9386d4a5a |
line wrap: on
line diff
--- a/gen/optimizer.cpp Thu Apr 30 11:56:03 2009 +0200 +++ b/gen/optimizer.cpp Thu Apr 30 12:25:04 2009 +0200 @@ -21,7 +21,7 @@ cl::Hidden // to clean up --help output ); -static cl::opt<char> optimizeLevel( +static cl::opt<unsigned char> optimizeLevel( cl::desc("Setting the optimization level:"), cl::ZeroOrMore, cl::values(