From: Scott Wood Date: Sun, 3 Dec 2006 18:33:05 +0000 (-0600) Subject: Fix a couple compiler errors that GCC 4.0 noticed. X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=commitdiff_plain;h=57f664cc02f517937b1a810a503e21ad8bc727bc Fix a couple compiler errors that GCC 4.0 noticed. --- diff --git a/idlcomp/main.cc b/idlcomp/main.cc index 2b9702f..597fbb7 100644 --- a/idlcomp/main.cc +++ b/idlcomp/main.cc @@ -743,8 +743,7 @@ int run_idlc(int argc, const char **argv) } catch (InvalidArgument) { - fprintf(stderr, "Internal idlc error: Uncaught InvalidArgument\n", - cur_input_file, curline); + fprintf(stderr, "Internal idlc error: Uncaught InvalidArgument\n"); return 1; } diff --git a/idlcomp/util.cc b/idlcomp/util.cc index 56b72b3..16b0e11 100644 --- a/idlcomp/util.cc +++ b/idlcomp/util.cc @@ -2,6 +2,7 @@ #include #include #include +#include #include #include