clang vs gcc warning flags (off-topic anecdote)

George Mitchell george+freebsd at m5p.com
Wed Jan 6 22:51:53 UTC 2021


On 1/6/21 4:34 PM, Ryan Libby wrote:
> [...]
> How I've actually seen "nested externs" used is usually to make
> variables visible without including headers, for one reason or another.
> [...]

My daughter, who knew quite a bit about programming before going to
college, had an instructor who *insisted* that his students declare
all their external functions inside the function calling them, even
in C code.  It appears he didn't really know C and had only taught
Pascal up to that point.                                 -- George

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20210106/af46b629/attachment.sig>


More information about the freebsd-hackers mailing list