As [email protected] wrote:

> ===> src (all)
> Warning: Object directory not changed from original 
> /wrkdirs/usr/ports/emulators/cpmtools/work/cpm/src
> cc -O2 -pipe  -DHELPFILE=\"/usr/local/lib/cpm.hlp\" -std=gnu99 
> -Qunused-arguments -fstack-protector  -c bitmap.c
> bitmap.c:31:7: warning: implicit declaration of function 'ffc' is invalid in 
> C99 [-Wimplicit-function-declaration]
>                 j = ffc(0, INTSIZE, *(bitmap+i));
>                     ^
> bitmap.c:50:1: warning: type specifier missing, defaults to 'int' 
> [-Wimplicit-int]
> dbmap(str)
> ^~~~~
> bitmap.c:61:1: warning: control reaches end of non-void function 
> [-Wreturn-type]
> }

I don't understand this.  emulators/cpmtools is historic code (dates
back to 1983), and thus has USE_GCC set to "any".

Why does it still use clang then?

I wish we had a C compiler around that can still compile "traditional"
(pre-C89) C code without complaints ...

"Fixing" that code is going to be a rewrite, which rather defeats the
idea.
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pkg-fallout
To unsubscribe, send any mail to "[email protected]"

Reply via email to