https://sourceware.org/bugzilla/show_bug.cgi?id=30870

            Bug ID: 30870
           Summary: binutils/bfd/vms-alpha.c:1628:16: error:expected
                    statement before ‘)’ token
           Product: binutils
           Version: 2.39
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: song.mengzhi at zte dot com.cn
  Target Milestone: ---

When I enable the VMS_DEBUG macro in bfd/vms.h, I encounter compilation
errors.The reason is that there is an extra ")" before the ";" on line 1628 in
binutils/bfd/vms-alpha.c.
    This error is introduced by this
patch:https:github.com/bminor/binutils-gdb/commit/816995444667f936c918bc76f3945105c4e1ec1b.

Here is the modification method:
@@ -1625,7 +1625,7 @@ image_write (bfd *abfd, unsigned char *p

 #if VMS_DEBUG
   _bfd_vms_debug (8, "image_write from (%p, %d) to (%ld)\n", ptr, size,
-                 (long) off));
+                 (long) off);
 #endif

   if (PRIV (image_section)->contents != NULL)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to