MantisBT - ParaView
View Issue Details
0012157ParaViewBugpublic2011-05-05 06:082011-08-16 08:38
Stephane P 
Kyle Lutz 
normalminoralways
closedno change required 
3.10.1 
3.12 
ParaViS
0012157: pv 3.10 does not compile with gcc 4.6
#include <cstddef>

is missing from files

VTK/Utilities/vtkmetaio/metaUtils.cxx
VTK/Wrapping/Python/PyVTKObject.cxx
No tags attached.
Issue History
2011-05-05 06:08Stephane PNew Issue
2011-06-23 11:43Utkarsh AyachitProject => ParaViS
2011-06-30 12:49Utkarsh AyachitAssigned To => Kyle Lutz
2011-06-30 17:10Kyle LutzNote Added: 0026935
2011-06-30 17:10Kyle LutzStatusbacklog => todo
2011-06-30 17:10Kyle LutzStatustodo => active development
2011-07-01 09:59Kyle LutzStatusactive development => todo
2011-07-07 09:05Kyle LutzStatustodo => active development
2011-07-07 09:10Kyle LutzNote Added: 0026969
2011-07-07 09:10Kyle LutzStatusactive development => gatekeeper review
2011-07-07 09:10Kyle LutzResolutionopen => no change required
2011-07-08 14:15Utkarsh AyachitStatusgatekeeper review => customer review
2011-07-08 14:15Utkarsh AyachitFixed in Version => 3.12
2011-08-16 08:38Stephane PNote Added: 0027363
2011-08-16 08:38Stephane PStatuscustomer review => closed

Notes
(0026935)
Kyle Lutz   
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   
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   
2011-08-16 08:38   
verified