2008-02-26 Jürg Billeter <j@bitron.ch>
+ * gobject/valaccodecompiler.vala, compiler/valacompiler.vala:
+ remove non-portable -O commandline option, fixes bug 518660
+
+2008-02-26 Jürg Billeter <j@bitron.ch>
+
* gee/hashset.vala: fix iterator, patch by Ali Sabil
2008-02-26 Jürg Billeter <j@bitron.ch>
static string output;
static bool debug;
static bool thread;
- static int optlevel;
static bool disable_assert;
static bool disable_checking;
static bool non_null;
{ "output", 'o', 0, OptionArg.FILENAME, out output, "Place output in file FILE", "FILE" },
{ "debug", 'g', 0, OptionArg.NONE, ref debug, "Produce debug information", null },
{ "thread", 0, 0, OptionArg.NONE, ref thread, "Enable multithreading support", null },
- { "optimize", 'O', 0, OptionArg.INT, ref optlevel, "Optimization level", "OPTLEVEL" },
{ "define", 'D', 0, OptionArg.STRING_ARRAY, out defines, "Define SYMBOL", "SYMBOL..." },
{ "disable-assert", 0, 0, OptionArg.NONE, ref disable_assert, "Disable assertions", null },
{ "disable-checking", 0, 0, OptionArg.NONE, ref disable_checking, "Disable run-time checks", null },
}
context.debug = debug;
context.thread = thread;
- context.optlevel = optlevel;
context.save_temps = save_temps;
if (defines != null) {
/* valaccodecompiler.vala
*
- * Copyright (C) 2007 Jürg Billeter
+ * Copyright (C) 2007-2008 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
if (context.debug) {
cmdline += " -g";
}
- cmdline += " -O%d".printf (context.optlevel);
if (context.compile_only) {
cmdline += " -c";
} else if (context.output != null) {