compiler/ide: Various tweaks to buffer sizes for holding command arguments (Buffer...
[sdk] / compiler / ecc / ecc.ec
index 12ea0ab..d9f8fc4 100644 (file)
@@ -305,11 +305,12 @@ class CompilerApp : Application
       }
 
       if(!valid)
-         printf("Syntax:\n   ecc [-t <target platform>] [-cpp <c preprocessor>] [-o <output>] [-symbols <outputdir>] [-I<includedir>]* [-isystem <sysincludedir>]* [-D<definition>]* -c <input>\n");
+         printf($"Syntax:\n   ecc [-t <target platform>] [-cpp <c preprocessor>] [-o <output>] [-symbols <outputdir>] [-I<includedir>]* [-isystem <sysincludedir>]* [-D<definition>]* -c <input>\n");
       else
       {
          DualPipe cppOutput;
-         char command[1024];
+         // TODO: Improve this
+         char command[MAX_F_STRING*3];
 
          SetGlobalData(&globalData);
          SetExcludedSymbols(&_excludedSymbols);
@@ -583,6 +584,8 @@ class CompilerApp : Application
       */
       SetSymbolsDir(null); // Free symbols dir
 
+      OutputIntlStrings();
+
 #if defined(_DEBUG) && defined(__WIN32__)
       if(exitCode || GetNumWarnings())
          getch();