[RELEASE - head-default] Build failed for cpmtools-1.1 during build

Joerg Wunsch j at uriah.heep.sax.de
Thu Sep 5 07:10:19 UTC 2013


As pkg-fallout at FreeBSD.org 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. ;-)


More information about the freebsd-pkg-fallout mailing list