Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-14174

ntoskrnl: Fix DPRINT format specifier in kdbg.c

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.8
    • Component/s: None
    • Labels:
      None

      Description

      I #undef'ed NDEBUG in File "ntoskrnl/kd/i386/kdbg.c", then my compiler complainted as follows:

      ../ntoskrnl/kd/i386/kdbg.c: In function 'KdPortInitializeEx':
      ../ntoskrnl/kd/i386/kdbg.c:117:17: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'PUCHAR' [-Werror=format]
      cc1.exe: all warnings being treated as errors
      [254/537] Building C object ntoskrnl/n...les/ntkrnlmp.dir/__/mm/i386/page.c.obj
      ninja: build stopped: subcommand failed.

      I created a Pull Request to fix this issue.
      https://github.com/reactos/reactos/pull/263

        Attachments

          Activity

            People

            • Assignee:
              ThFabba ThFabba
              Reporter:
              katayama_hirofumi_mz Katayama Hirofumi MZ
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: