Author: tkreuzer
Date: Sun Nov 21 13:45:17 2010
New Revision: 49687
URL:
http://svn.reactos.org/svn/reactos?rev=49687&view=rev
Log:
[SPEC2DEF]
- Handle -i386
- Improve debug output
Modified:
branches/cmake-bringup/tools/spec2def/spec2def.c
Modified: branches/cmake-bringup/tools/spec2def/spec2def.c
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/tools/spec2def/sp…
==============================================================================
--- branches/cmake-bringup/tools/spec2def/spec2def.c [iso-8859-1] (original)
+++ branches/cmake-bringup/tools/spec2def/spec2def.c [iso-8859-1] Sun Nov 21 13:45:17
2010
@@ -294,7 +294,12 @@
while (*pc > ',') pc++;
}
}
+ else if (CompareToken(pc, "-i386"))
+ {
+ if (_stricmp(pszArchString, "i386") != 0) included = 0;
+ }
else if (CompareToken(pc, "-noname") ||
+ CompareToken(pc, "-norelay") ||
CompareToken(pc, "-ret64") ||
CompareToken(pc, "-private"))
{
@@ -302,7 +307,8 @@
}
else
{
- fprintf(stderr, "info: ignored option: '%.10s'\n",
pc);
+ fprintf(stderr, "info: ignored option: '%.*s'\n",
+ TokenLength(pc), pc);
}
/* Go to next token */