dev86 icon indicating copy to clipboard operation
dev86 copied to clipboard

Compilation warning

Open Mirraz opened this issue 10 years ago • 4 comments

Building dev86-0.16.20 by gcc-4.8.2 I'v got this compilation warning: dbprintf.c:110:13: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]

Mirraz avatar Apr 20 '14 18:04 Mirraz

Yeah, there's a lot of compilation warnings with newer toolchains. I'm not going to just shoot this particular one, but I'd gladly accept patches to deal with the warnings.

lkundrak avatar Nov 27 '15 10:11 lkundrak

If nobody is already working on it I will be happy to contribute on this issue. Please assign it to me.

scontini76 avatar Oct 02 '16 10:10 scontini76

As said in #15, I suggest you to contribute rather to Jody Bruchon's fork.

mfld-fr avatar Oct 02 '16 14:10 mfld-fr

These headers would need to be added to bcc/dbprintf.c:

#include <string.h>
#include <unistd.h>

This was fixed in my fork in April 2015: https://github.com/jbruchon/dev86/commit/4ed1997c5f80728fdc1f4d55238d1cd5eef46c48

jbruchon avatar Oct 04 '16 16:10 jbruchon