Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Issues
  • #3947
Closed
Open
Issue created Nov 18, 2019 by Administrator@rootContributor

C4477 in DynamoRIOView.cpp

Created by: alexander-pick

I was trying to compile DynamoRIO on Windows 10 with Visual Studio 2017 as a 64 Bit Build. The cmake caused the following warning which was handled as an error (Sorry I use a german VS but I thing the issue ist clear here):

c:\src\dynamorio\tools\drstats\dynamorioview.cpp(429): error C2220: Warnung wird als Fehler interpretiert, es wurde keine object-Datei generiert. [C:\re\src\dynamorio\tools\DRstats\DRstats.vcxproj]
c:\src\dynamorio\tools\drstats\dynamorioview.cpp(429): warning C4477: "_swprintf": Die Formatzeichenfolge "%*.*S" erfordert ein Argument vom Typ "int", das variadic-Argument "1" weist aber den Typ "unsigned __int64" auf.

This is just a very picky type problem so I don't think the warning will cause any issue. I added a "#pragma warning(disable:4477)" on top of the file to successfully build the software.

Maybe a fix for this issue could be implemented in the next version to allow a clean build.

Assignee
Assign to
Time tracking