lkundrak / dev86

C compiler, assembler and linker environment for the production of 8086 executables
http://v3.sk/~lkundrak/dev86/
GNU General Public License v2.0
153 stars 44 forks source link

Compilation warning #1

Open Mirraz opened 10 years ago

Mirraz commented 10 years ago

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]

lkundrak commented 8 years ago

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.

scontini76 commented 7 years ago

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

mfld-fr commented 7 years ago

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

jbruchon commented 7 years ago

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