Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207346 - sci-libs/netcdf-3.6.2 doesn't compile with gcc-4.3.0
Summary: sci-libs/netcdf-3.6.2 doesn't compile with gcc-4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-01-25 07:14 UTC by milan hodoscek
Modified: 2009-01-11 20:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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