Giter Club home page Giter Club logo

Comments (3)

ludocode avatar ludocode commented on August 16, 2024

Hmm, that's weird. memmove() should definitely be in string,h.

What platform are you on? Is it possible you're using an esoteric platform or C library that defines memmove() elsewhere? Could it be disabled in favor of some other function like memmove_s()? Do you maybe have a macro defined on memmove? I'm not sure what could cause memmove() to be missing without also losing memcpy(), strlen(), memset(), etc.

I would recommend looking at the preprocessed output to see what's going on with string.h. If you can give me more info about your platform I can try to reproduce it here.

from mpack.

schmidtw avatar schmidtw commented on August 16, 2024

Good question on the environment ... I should have mentioned that. I' building using a sock Fedora Linux 34 environment. For other files, including string.h does what you'd think.

Good suggestion on the preprocessed output. I'll dig in. I'll also get the code in shape enough to push to a branch so it's easier to see what all is going on.

Thanks!

from mpack.

schmidtw avatar schmidtw commented on August 16, 2024

This turned out to be a build configuration error :). I inadvertently included the local source directory path in with the system includes & I happened to have a string.h file present locally that was being loaded instead of the system file.

mpack is now compiling cleanly. Great question - it helped me get out of my rut.

from mpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.