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

Bug 207346

Summary: sci-libs/netcdf-3.6.2 doesn't compile with gcc-4.3.0
Product: Gentoo Linux Reporter: milan hodoscek <milan>
Component: [OLD] GCC PortingAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: ludek_h
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    

Description milan hodoscek 2008-01-25 07:14:45 UTC
netcdf-3.6.2 doesn't compile with gcc-4.3.0

replace #include <string> with #include <cstring> in cxx/ncvalues.cpp (line 12)
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2008-01-25 09:43:39 UTC
Patch applied in cvs. Thanks!
Comment 2 anomen 2009-01-11 20:16:40 UTC
tests still don't work with gcc-4.3

#include <cstring>
needs to be added into:

examples/CXX/sfc_pres_temp_wr.cpp
examples/CXX/sfc_pres_temp_rd.cpp