Comments (3)
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.
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.
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)
- Stream reader with manual memory management? HOT 2
- comparison with libmpack HOT 1
- Warning about incompatible int types in mpack_snprintf calls HOT 1
- ESP32-C3 rebooting when executing functions from the MPack library
- Stream parser that doesn't buffer the entire message
- tools/unit.sh help - does not work
- How to know the end of message pack in serial communication? HOT 1
- memory error on avr (arduino uno)
- File IO incompatible with custom context HOT 2
- mpack crashes without a matching call to mpack_complete_* HOT 3
- Node API for read+write? HOT 1
- How to change the data with node API? Or how to write fast when I know the data offset or giving node? HOT 2
- get nothing if prev node is nil HOT 3
- Make it possible to use a dynamic buffer with mpack writer HOT 2
- builder page allocation leak and segfault HOT 6
- Missing Symbolic Link HOT 1
- Should NULL data be allowed for mpack_write_str() with count of 0? HOT 1
- Error handler segfault HOT 1
- How can I get it header only? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpack.