You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cabal build --constraint='bytestring >=0.12' --allow-newer=bytestring
...
internal/Data/Attoparsec/ByteString/FastSet.hs:97:18: warning: [-Wdeprecations]
In the use of ‘memset’
(imported from Data.ByteString.Internal, but defined in bytestring-0.11.5.0:Data.ByteString.Internal.Type):
Deprecated: "Use Foreign.Marshal.Utils.fillBytes instead"
|
97 | _ <- I.memset t 0 32
| ^^^^^^^^
...
internal/Data/Attoparsec/ByteString/Buffer.hs:121:11: warning: [GHC-68441] [-Wdeprecations]
In the use of ‘memcpy’
(imported from Data.ByteString.Internal, but defined in Data.ByteString.Internal.Type):
Deprecated: "Use Foreign.Marshal.Utils.copyBytes instead"
|
121 | memcpy (ptr0 `plusPtr` (off0+len0))
| ^^^^^^
...
The text was updated successfully, but these errors were encountered:
andreasabel
changed the title
Deprecation warning for memcpy with bytestring-0.12
Deprecation warning for memset and memcpy with bytestring >= 0.11.5Jul 13, 2023
The text was updated successfully, but these errors were encountered: