davidgiven / ack

The Amsterdam Compiler Kit
http://tack.sf.net
Other
428 stars 62 forks source link

Include headers to declare functions #183

Closed kernigh closed 5 years ago

kernigh commented 5 years ago

bec236c unbreaks my build on OpenBSD; long lseek() was wrong. The other commits just reduce warnings from clang. Most of them add #include lines to declare functions like unlink() and rd_arhdr().

84f65f7 edits plat/cpm/emu/fileio.c. @davidgiven, you have another copy of this file at cowgol/emu/cpm/fileio.c; I don't know if it needs the same edit.

davidgiven commented 5 years ago

Thanks very much.

Do you know of a continuous integration system for OpenBSD (or, TBH, any BSD) which we could integrate with? We keep accidentally breaking the build there, and we really shouldn't be.

kernigh commented 5 years ago

You run Travis CI on osx, which is similar to FreeBSD. I don't know any AppVeyor-like or Travis-like services for FreeBSD, NetBSD, or OpenBSD. Some discussion in Meson issue #3570 mentioned rust-libc/ci, which runs FreeBSD and OpenBSD in QEMU in Linux in Travis. QEMU has a slow emulated processor and would take a long time to compile C code.

davidgiven commented 5 years ago

I've found https://cirrus-ci.org/guide/FreeBSD/, which looks promising.

z3ntu commented 5 years ago

FYI https://builds.sr.ht/ has support for FreeBSD and OpenBSD - see https://man.sr.ht/builds.sr.ht/compatibility.md