[ros-diffs] [tkreuzer] 49687: [SPEC2DEF] - Handle -i386 - Improve debug output

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sun Nov 21 13:45:18 UTC 2010


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/spec2def.c?rev=49687&r1=49686&r2=49687&view=diff
==============================================================================
--- 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 */




More information about the Ros-diffs mailing list