mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-01 01:29:03 +02:00
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...
This commit is contained in:
@@ -133,13 +133,15 @@ enum OS
|
||||
OSSolaris,
|
||||
};
|
||||
|
||||
typedef unsigned char ubyte;
|
||||
|
||||
// Put command line switches in here
|
||||
struct Param
|
||||
{
|
||||
bool obj; // write object file
|
||||
bool link; // perform link
|
||||
bool verbose; // verbose compile
|
||||
char symdebug; // insert debug symbolic information
|
||||
ubyte symdebug; // insert debug symbolic information
|
||||
#if !IN_LLVM
|
||||
// LDC uses a different mechanism
|
||||
bool optimize; // run optimizer
|
||||
@@ -159,7 +161,7 @@ struct Param
|
||||
bool useUnitTests; // generate unittest code
|
||||
bool useInline; // inline expand functions
|
||||
bool warnings; // enable warnings
|
||||
char Dversion; // D version number
|
||||
ubyte Dversion; // D version number
|
||||
char safe; // enforce safe memory model
|
||||
|
||||
char *argv0; // program name
|
||||
|
||||
Reference in New Issue
Block a user