View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011952VTK(No Category)public2011-03-09 12:232016-08-12 09:55
ReporterSean McBride 
Assigned ToDave DeMarle 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version 
Summary0011952: Regression: new compiler warning due to blind usage of gcc-only "-std=c99" compiler flag
DescriptionSince ParaView's HDF5 was merged into VTK in Dec 2010, a new compiler warning appeared when building VTK with clang:

clang: warning: argument unused during compilation: '-std=c99'

This comes from Utilities/vtkhdf5/CMakeLists.txt

#-----------------------------------------------------------------------------
# Compiler specific flags : Shouldn't there be compiler tests for these
#-----------------------------------------------------------------------------
IF (NOT WIN32)
  SET (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS} -std=c99 -
fomit-frame-pointer -finline-functions -fno-common")
ENDIF (NOT WIN32)

The comment is correct. "-std=c99" should not be blindly passed to any compiler, only to gcc.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0026227)
Sean McBride (developer)
2011-04-19 11:00

Note, when building with clang, if *no* warning flags are specified, this is the only warning nonetheless generated.
(0026238)
David Partyka (developer)
2011-04-21 14:44

Hi Sean, I just checked in a potential fix to vtk master. Can you please give it a try and let me know. Thanks!
(0026432)
Sean McBride (developer)
2011-05-04 10:37

hmmm, the warning still appears on my dashboard:

http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=1087878 [^]
(0031286)
Dave DeMarle (administrator)
2013-07-22 20:33

Dave P no longer works on the project. If these old issues still exist in 6.0.0, reopen them and assign to Dave DeMarle
(0031331)
Sean McBride (developer)
2013-07-24 18:03

Issue still exists, but has workaround.
(0037223)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2011-03-09 12:23 Sean McBride New Issue
2011-03-09 12:23 Sean McBride Status backlog => tabled
2011-03-09 12:23 Sean McBride Assigned To => David Partyka
2011-04-19 11:00 Sean McBride Note Added: 0026227
2011-04-21 14:44 David Partyka Note Added: 0026238
2011-05-04 10:37 Sean McBride Note Added: 0026432
2013-07-22 20:33 Dave DeMarle Status backlog => expired
2013-07-22 20:33 Dave DeMarle Note Added: 0031286
2013-07-24 18:03 Sean McBride Project => TBD
2013-07-24 18:03 Sean McBride Type => incorrect functionality
2013-07-24 18:03 Sean McBride Note Added: 0031331
2013-07-24 18:03 Sean McBride Assigned To David Partyka => Dave DeMarle
2013-07-24 18:03 Sean McBride Product Version => 6.0.0
2016-08-12 09:55 Kitware Robot Note Added: 0037223
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team