pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

does / should pkgsrc require c99?



Dear all,

is there a consensus on what assumptions can be made on the compilers
people use?

The PkgSrc bootstrap process currently requires a C99 compiler:
- bmake uses inline, __func__, and C99 comments
- libarchive includes stdint.h, C99 comments, etc.

In addition, a lot of packages silently assume the C compiler to support
the C99 standard.  This is a problem for compilers that requires an
option to enable C99 support.  I've filed related PRs in the past, e.g.
https://gnats.netbsd.org/56033 .

I have come across many more related issues and am wondering: should I
file PRs and submit patches, or is C99 support a requirement these days?
In the latter case, how should one deal with the issue in the PR linked?

Cheers,
Malte

-- 
Malte Dehling
<mdehling at gmail.com>


Home | Main Index | Thread Index | Old Index