]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wxexpr.cpp
no message
[wxWidgets.git] / src / common / wxexpr.cpp
index 926cae30013f5f40888956fab62d06c1343a340a..3d4979ef4c92b331799343b0399da1bb7d888392 100644 (file)
 #pragma hdrstop
 #endif
 
+#if wxUSE_IOSTREAMH
 #include <fstream.h>
+#else
+#include <fstream>
+#  ifdef _MSC_VER
+      using namespace std;
+#  endif
+#endif
+
 #include <stdarg.h>
 #include <ctype.h>
 #include <string.h>
@@ -1230,7 +1238,7 @@ void process_command(char * cexpr)
   add_expr(expr);
 }
 
-void syntax_error(char *s)
+void syntax_error(char *WXUNUSED(s))
 {
   if (currentwxExprErrorHandler)
     (void)(*(currentwxExprErrorHandler))(WXEXPR_ERROR_SYNTAX, "syntax error");