View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015536VTK(No Category)public2015-06-11 14:322015-07-20 17:15
Reporterdkuegler 
Assigned ToBen Boeckel (Kitware) 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version6.3.0 
Summary0015536: Visual Studio 2015 Compilation Error, string literals
DescriptionThe following compile error

Severity Code Description Project File Line
Error C3688 invalid literal suffix 'PRIdword'; literal operator or literal operator template 'operator ""PRIdword' not found vtkCommonCore G:\Toolkits\VTK\VTK-6.2.0\Common\Core\vtkWin32ProcessOutputWindow.cxx 98
Error C2664 'int sprintf(char *const ,const char *const ,...)': cannot convert argument 2 from 'DWORD' to 'const char *const ' vtkCommonCore G:\Toolkits\VTK\VTK-6.2.0\Common\Core\vtkWin32ProcessOutputWindow.cxx 99

arises in my Visual Studio 2015 RC installation.

This references
  // Construct the executable name from the process id, pointer to
  // this output window instance, and a count. This should be unique.
  sprintf(exeName, "vtkWin32OWP_%"PRIdword"_%p_%u.exe",
          GetCurrentProcessId(), this, this->Count++);

it should be
  // Construct the executable name from the process id, pointer to
  // this output window instance, and a count. This should be unique.
  sprintf(exeName, "vtkWin32OWP_%" PRIdword "_%p_%u.exe",
          GetCurrentProcessId(), this, this->Count++);
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0034676)
Ben Boeckel (Kitware) (developer)
2015-07-07 15:37

See <https://gitlab.kitware.com/vtk/vtk/merge_requests/378>. [^]
(0034688)
dkuegler (reporter)
2015-07-08 05:47

Also, see https://gitlab.kitware.com/vtk/vtk/merge_requests/311 [^]

 Issue History
Date Modified Username Field Change
2015-06-11 14:32 dkuegler New Issue
2015-07-07 15:37 Ben Boeckel (Kitware) Note Added: 0034676
2015-07-07 15:37 Ben Boeckel (Kitware) Assigned To => Ben Boeckel (Kitware)
2015-07-07 15:37 Ben Boeckel (Kitware) Status backlog => gerrit review
2015-07-08 05:47 dkuegler Note Added: 0034688
2015-07-20 17:15 Ben Boeckel (Kitware) Status gerrit review => closed
2015-07-20 17:15 Ben Boeckel (Kitware) Resolution open => fixed
2015-07-20 17:15 Ben Boeckel (Kitware) Fixed in Version => 6.3.0


Copyright © 2000 - 2018 MantisBT Team