View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012157ParaViewBugpublic2011-05-05 06:082011-08-16 08:38
ReporterStephane P 
Assigned ToKyle Lutz 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version3.10.1 
Target VersionFixed in Version3.12 
Summary0012157: pv 3.10 does not compile with gcc 4.6
Description#include <cstddef>

is missing from files

VTK/Utilities/vtkmetaio/metaUtils.cxx
VTK/Wrapping/Python/PyVTKObject.cxx
TagsNo tags attached.
ProjectParaViS
Topic Name
Type
Attached Files

 Relationships

  Notes
(0026935)
Kyle Lutz (viewer)
2011-06-30 17:10

From http://gcc.gnu.org/gcc-4.6/changes.html: [^] "Most libstdc++ standard headers have been changed to no longer include the cstddef header as an implementation detail. Code that relied on that header being included as side-effect of including other standard headers will need to include cstddef explicitly."
(0026969)
Kyle Lutz (viewer)
2011-07-07 09:10

This issue has already been fixed by the following two commits:

commit be4c4f115793598f6c8937a98bdd1f227d471540
Author: Brad King <brad.king@kitware.com>
Date: Tue Apr 19 15:25:09 2011 -0400

    MetaIO: Add missing include <stddef.h> for ptrdiff_t
    
    Fixes error "ptrdiff_t was not declared in this scope".
    
    Author: David Doria <daviddoria@gmail.com>
    Change-Id: I1e0dee67d26681f4119ac1fd00ecec3d139eb726

commit 8aa796526ae5b53a6bb0647332d2fbb79e1da439
Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
Date: Thu Apr 28 15:59:06 2011 -0400

    COMP: GCC 4.6 error, offsetof is in cstddef.
    
    Change-Id: I05ebf1b6304932bd384d8ce9ac7484272498271d
(0027363)
Stephane P (reporter)
2011-08-16 08:38

verified

 Issue History
Date Modified Username Field Change
2011-05-05 06:08 Stephane P New Issue
2011-06-23 11:43 Utkarsh Ayachit Project => ParaViS
2011-06-30 12:49 Utkarsh Ayachit Assigned To => Kyle Lutz
2011-06-30 17:10 Kyle Lutz Note Added: 0026935
2011-06-30 17:10 Kyle Lutz Status backlog => todo
2011-06-30 17:10 Kyle Lutz Status todo => active development
2011-07-01 09:59 Kyle Lutz Status active development => todo
2011-07-07 09:05 Kyle Lutz Status todo => active development
2011-07-07 09:10 Kyle Lutz Note Added: 0026969
2011-07-07 09:10 Kyle Lutz Status active development => gatekeeper review
2011-07-07 09:10 Kyle Lutz Resolution open => no change required
2011-07-08 14:15 Utkarsh Ayachit Status gatekeeper review => customer review
2011-07-08 14:15 Utkarsh Ayachit Fixed in Version => 3.12
2011-08-16 08:38 Stephane P Note Added: 0027363
2011-08-16 08:38 Stephane P Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team