static Context globalContext { };
static Module privateModule;
static ModuleImport mainModule;
-static OldList _excludedSymbols { offset = (uint)&((Symbol)0).left };
+static OldList _excludedSymbols { offset = (uint)(uintptr)&((Symbol)0).left };
static OldList defines, imports;
static NameSpace globalData
{
}
#ifdef _DEBUG
-static bool TestType(String string, String expected)
+/*static bool TestType(String string, String expected)
{
bool result = true;
char typeString[1024] = { 0 };
PrintLn("\n", succeeded, " / ", count, " tests succeeded.");
}
+*/
#endif
class CompilerApp : Application
for(c = 1; c<argc; c++)
{
- char * arg = argv[c];
+ const char * arg = argv[c];
if(arg[0] == '-')
{
if(!strcmp(arg + 1, "m32") || !strcmp(arg + 1, "m64"))
if(c + 1 < argc)
{
char * buf;
- char * arg1 = argv[++c];
+ const char * arg1 = argv[++c];
int size = cppOptionsLen + 1 + strlen(arg) * 2 + strlen(arg1) * 2 + 1;
cppOptions = renew cppOptions char[size];
buf = cppOptions + cppOptionsLen;