This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix vmsdbgout.c


vmsdbgout.c falls afoul of input_filename now being a macro.  Tested
with i686-linux -> alpha-dec-vms cross compiler build.

zw

        * vmsdbgout.c (vmsdbgout_finish): Rename parameter to
        main_input_filename to avoid conflict with input_filename macro.

===================================================================
Index: vmsdbgout.c
--- vmsdbgout.c	 5 Apr 2003 07:01:47 -0000	1.25
+++ vmsdbgout.c	15 Jun 2003 23:35:28 -0000
@@ -1725,14 +1725,14 @@ vmsdbgout_abstract_function (decl)
    VMS Debug debugging info.  */
 
 static void
-vmsdbgout_finish (input_filename)
-     const char *input_filename ATTRIBUTE_UNUSED;
+vmsdbgout_finish (main_input_filename)
+     const char *main_input_filename ATTRIBUTE_UNUSED;
 {
   unsigned int i;
   int totsize;
 
   if (write_symbols == VMS_AND_DWARF2_DEBUG)
-    (*dwarf2_debug_hooks.finish) (input_filename);
+    (*dwarf2_debug_hooks.finish) (main_input_filename);
 
   if (debug_info_level == DINFO_LEVEL_NONE)
     return;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]