cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Bluetooth

Anonymous
Not applicable

Hi together,

I'm using memcpy and get the warning from the title.

I already include string.h - what else can I do besides ignoring this error?

Best regards

Hannes Baumgart

0 Likes
1 Solution
Anonymous
Not applicable

Hi there,

of course you shouldn't just ignore compiler warnings, but this can be ignored and the program will still run.

A better way is to insert this:

extern void *memcpy(void *dest, const void *src, size_t n);

Best regards

Hannes Baumgart

View solution in original post

6 Replies