Sunday, April 15, 2018

Re: Is ANSI C support still needed?

Hi Bram and all,

On Sun, 15 Apr 2018 12:43:23 +0200
Bram Moolenaar <Bram@moolenaar.net> wrote:

> Hello Vimmers,
>
> For a long time Vim code was made to be compiled with ANSI C (also known
> as C89 and ISO C90). This means it can also be compiled on very old
> systems. And since it wasn't too much work to support it, that was the
> choice.
>
> Now that we are adding checks for C89 compliance, it turns out that we
> already are using some C99 features, such as the "long long" type.
> Also, many libraries produce warnings when enforcing C89. That means
> using C89 is starting to become a hassle. So, the question comes up: is
> it still worth it?
>
> If you CANNOT build Vim with a C99 compiler, please speak up!
> If I don't hear about such cases, I think we are better off using C99 as
> the standard.
>
> Note that if we go with C99, we still need to decide what features we
> will actually use, since C99 compliance was lacking for quite a while
> (esp. in MS-Visual C). That's not going to make this easier.
>

+1 for C99 from me, but I am using recent Linux systems mostly.

--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Chuck Norris/etc. Facts - http://www.shlomifish.org/humour/bits/facts/

He who reinvents the wheel will likely design a square wheel and spend a year
trying to figure out why it doesn't work properly.
— Nadav Har'El, http://www.shlomifish.org/humour.html

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: