Disable -Werror when using dub?
Hello -- I may have missed this in the documentation but is it possible to turn off -Werror when building with dub+gdc? I want to do some debugging and short-circuit some functions with an assert(0) but that will flag -Werror on statements being unreachable, which coincidentally is exactly what I want. Thanks! ~Brian
Re: Disable -Werror when using dub?
On Wednesday, 7 April 2021 at 00:18:42 UTC, Dennis wrote: On Wednesday, 7 April 2021 at 00:17:35 UTC, Dennis wrote: You can add `buildOptions "allowWarnings"` to your dub.sdl, or the equivalent to your dub.json. See https://dub.pm/package-format-sdl.html Should be `buildRequirements` Thanks. I did in fact miss it. It's there in the docs.
GDC port/package now available on OpenBSD
Hi all -- I'm happy to announce that OpenBSD imported GCC 11 into its ports tree. It's still considered unofficial due to issues not having to do with GDC, but OpenBSD users will soon be able to run `pkg_add gdc` to get GDC. For the impatient, you can get GDC on OpenBSD now by building the GCC 11 port. https://marc.info/?l=openbsd-ports-cvs&m=162905293327621&w=2 ~Brian
Re: GDC port/package now available on OpenBSD
On Sunday, 15 August 2021 at 18:54:58 UTC, Brian wrote: Hi all -- I'm happy to announce that OpenBSD imported GCC 11 into its ports tree. It's still considered unofficial due to issues not having to do with GDC, but OpenBSD users will soon be able to run `pkg_add gdc` to get GDC. For the impatient, you can get GDC on OpenBSD now by building the GCC 11 port. https://marc.info/?l=openbsd-ports-cvs&m=162905293327621&w=2 ~Brian Oh, I jumped the gun a little here. GCC 11 has already been promoted to official package, so you can run `pkg_add gdc` to get GDC :) ~Brian