Summary: | STLPort 5.1.5 + gcc-4.{1,2}*: '__std_alias::wcsftime' has not been declared | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Laurent G. <lauranger> |
Component: | [OLD] Library | Assignee: | C++ Team [disbanded] <cpp+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | loki_val, ludovic.bellier, pngochai, zeekec |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 127188 | ||
Bug Blocks: |
Description
Laurent G.
2008-05-01 09:21:06 UTC
Confirmed for GCC 4.2.3. This tidbit from 5.1.3 fixes it. The ifdefs are convoluted, but a real fix should be possible later. sed -i \ -e 's/_STLP_VENDOR_CSTD::wcsftime/::wcsftime/' \ stlport/stl/_cwchar.h || die "sed failed" (In reply to comment #1) > Confirmed for GCC 4.2.3. This tidbit from 5.1.3 fixes it. The ifdefs are > convoluted, but a real fix should be possible later. > > sed -i \ > -e 's/_STLP_VENDOR_CSTD::wcsftime/::wcsftime/' \ > stlport/stl/_cwchar.h || die "sed failed" > This fixed the build error for me I have tracked this down to being an issue only with GCC-4.1.x and GCC-4.2.x. The original 5.1.5 ebuild compiles with GCC 3.4.6 and GCC 4.3.0. Which were the two versions I tested it with, incidentally ;-( With the fix I have confirmed STLport to now compile with GCC 3.4.6, 4.1.2, 4.2.3 and 4.3.0 on ~x86. The fix works for me too. amd64, gcc-4.1.2 This fix also works for me, STLport-5.1.5 amd64 gcc 4.2.3 Fixed. Thanks. |