Re: trailing comma compiler suuport

Werner Koch via Gcrypt-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.libgcrypt.devel
Message-ID <[email protected]>
On Thu, 18 Apr 2024 21:10, Jacob Bachmeyer said:

> Wait... I thought trailing commas in initializer lists had always been
> allowed, since the original K&R C, in order to facilitate tools that
> generate C code.  Is this incorrect or are those compilers outliers?

I always had this issue with HP compilers and some other compilers also
complain/warn about it.  IIRC, even the crippled K&R cc installed by
default on HPUX, which you need to bootstrap gcc, has this problem.  We
should find not too old reports in the bug tracker.


Shalom-Salam,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

_______________________________________________
Gcrypt-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel
openpgp-digital-signature.asc (application/pgp-signature, 247 B)
-----BEGIN PGP SIGNATURE-----

iIMEARYIACsWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCZiOx1g0cd2tAZ251cGcu
b3JnAAoJEBnMHJ4IWxB6N3kA/REzxnLsuj1BV5htEOw9RrPX4yssmb+VilkaHKUc
5k4uAP9/CmSGeOkQdayCVaoZ5oSuDvfCfFqBA3G0P+1jmNWQBQ==
=0dAD
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.