Skip to content

memcpy deprecated #2

@unhammer

Description

@unhammer
Data/FastText/Internal.hsc:43:7: 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"
   |
43 |       memcpy buf p len           -- so we don't free after use
   |       ^^^^^^
[2 of 2] Compiling Data.FastText    ( Data/FastText.hs, dist/build/Data/FastText.o, dist/build/Data/FastText.dyn_o )
[1 of 2] Compiling Data.FastText.Internal ( dist/build/Data/FastText/Internal.hs, dist/build/Data/FastText/Internal.p_o )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions