From 57f664cc02f517937b1a810a503e21ad8bc727bc Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Sun, 3 Dec 2006 12:33:05 -0600 Subject: [PATCH] Fix a couple compiler errors that GCC 4.0 noticed. --- idlcomp/main.cc | 3 +-- idlcomp/util.cc | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2