update dumpexts to remote Intel C++/Fortran 14 strange symbols 48/15148/1
Antoine ELIAS [Wed, 3 Sep 2014 10:14:03 +0000 (12:14 +0200)]
Change-Id: Ia31b737ed022120f5f861d3a7df0704e3ac878c4

scilab/tools/Dumpexts/winDumpExts.c

index 3199088..4ff4aa9 100644 (file)
@@ -282,7 +282,8 @@ void DumpExternals(PIMAGE_SYMBOL pSymbolTable, FILE *fout, unsigned cSymbols)
                 if (( stricmp(s, "DllEntryPoint") != 0)
                         && (stricmp(s, "DllMain") != 0))
                 {
-                    if ( s[0] != '?' )
+                    //remove Intel C++ 14 added symbols
+                    if ( s[0] != '?' && strncmp(s, "__sti__?", 8) != 0)
                     {
                         fprintf(fout, "\t%s\n", s);
                     }