Updated a few GCC issues, and case-sensitivity of filenames.

I had to rename the export function in Apprentice.cpp since "export" is a reserved word according to the C++ standard. I don't know whether GCC supports it yet, but it certainly complains.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@302 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
coppro
2007-04-25 00:16:29 +00:00
parent e1c067a9a1
commit 7c40df0624
19 changed files with 61 additions and 43 deletions
+1 -2
View File
@@ -428,7 +428,7 @@ String cycle_sort(const String& spec, const String& input) {
* "W1G") -> "1GW" // could be "W...G" or "...GW", second is shorter
* "GRBUWWUG") -> "WWUUBRGG" // no difference by rule 1,2, could be "WUBRG", "UBRGW", etc.
* // becomes _("WUBRG") by rule 3
* "WUR") -> "RWU" // by rule 1 could be "R WU" or "WU R", "RUW" has an earlier hole
* "WUR") -> "RWU" // by rule 1 could be "R WU" or "WU R", "RWU" has an earlier hole
*/
String spec_sort(const String& spec, const String& input) {
String ret;
@@ -471,7 +471,6 @@ String spec_sort(const String& spec, const String& input) {
return ret;
}
// Sort using spec_sort
class ScriptRule_sort_order: public ScriptValue {
public: