Deprecation warning for `memcpy` with `bytestring >= 0.11.5`
Open
- Dominant language
- Haskell
- Stars
- 50
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
```
Data/Text/ICU/Spoof.hsc:433:7: warning: [-Wdeprecations]
In the use of ‘memcpy’
(imported from Data.ByteString.Internal, but defined in bytestring-0.11.5.0:Data.ByteString.Internal.Type):
Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"
|
433 | memcpy dptr bptr (fromIntegral dlen))
| ^^^^^^
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect Data/Text/ICU/Spoof.hsc at line 433, where the deprecation warning identifies memcpy and recommends Foreign.Marshal.Utils.copyBytes. Build or test the package and confirm the deprecation warning is no longer emitted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100