Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 362545

Summary: dev-cpp/eigen-3.0.0 USE="doc" fails to build with GCC 4.6
Product: Gentoo Linux Reporter: Ryan Hill (RETIRED) <rhill>
Component: [OLD] GCC PortingAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: cryos, kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 346809    

Description Ryan Hill (RETIRED) gentoo-dev 2011-04-08 00:01:22 UTC
In file included from /var/tmp/portage/dev-cpp/eigen-3.0.0/work/eigen-3.0.0/Eigen/src/StlSupport/StdVector.h:29:0,                          
                 from /var/tmp/portage/dev-cpp/eigen-3.0.0/work/eigen-3.0.0/Eigen/StdVector:38,
                 from /var/tmp/portage/dev-cpp/eigen-3.0.0/work/eigen-3.0.0/unsupported/doc/examples/BVH_Example.cpp:1:
/var/tmp/portage/dev-cpp/eigen-3.0.0/work/eigen-3.0.0/Eigen/src/StlSupport/details.h:41:13: error: 'ptrdiff_t' does not name a type


missing #include <cstddef>.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-04-17 12:04:23 UTC
+  17 Apr 2011; Justin Lecher <jlec@gentoo.org> eigen-3.0.0.ebuild,
+  +files/eigen-3.0.0-gcc46.patch:
+  Fix for gcc-4.6 changes, #362545
+