#
afeb3d00 |
| 03-Feb-2022 |
rillig <rillig@NetBSD.org> |
tools: allow tools to use C99
The previous requirement was that tools should only use C89 features. Several tools did not follow this rule for years. Since nobody complained about not being able to
tools: allow tools to use C99
The previous requirement was that tools should only use C89 features. Several tools did not follow this rule for years. Since nobody complained about not being able to build NetBSD in a C89 environment, drop that rule, now requiring C99.
https://mail-index.netbsd.org/tech-toolchain/2022/01/30/msg004091.html
show more ...
|
#
106ab6c8 |
| 03-Jan-2015 |
apb <apb@NetBSD.org> |
Update documentation about tools being restricted to C89 (or not).
It's not practical for the C89 restriction to be maintained for compilers, but it is still desirable for most tools. The "long lon
Update documentation about tools being restricted to C89 (or not).
It's not practical for the C89 restriction to be maintained for compilers, but it is still desirable for most tools. The "long long" data type is in wide use despite not being in C89. C99 library features (as opposed to language features) can often be added to the compat framework when the need becomes apparent.
show more ...
|
#
a4a57f7b |
| 30-Sep-2014 |
apb <apb@NetBSD.org> |
Say that tools should use C89, not C99; Say that tools may use HAVE_NBTOOL_CONFIG_H to conditionally exclude features. Many other small changes.
|
#
f6ecb478 |
| 24-Sep-2014 |
apb <apb@NetBSD.org> |
It is usually easy to add new definitions to src/tools/compat, and that is usually better than adding compatibility definitions to individual tools.
|
#
0ecf7ee7 |
| 01-Sep-2014 |
apb <apb@NetBSD.org> |
Add tools/README, to collect hints like how to use
.if defined(HOSTPROG)
and
#if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #endif /* HAVE_NBTOOL_CONFIG_H */
|