public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* REVIEW: 16366 Build should default to C99
@ 2024-03-02  7:18 Toomas Soome
  2024-03-03 20:33 ` [developer] " Richard Lowe
  2024-03-04  4:11 ` Dan Shelton
  0 siblings, 2 replies; 5+ messages in thread
From: Toomas Soome @ 2024-03-02  7:18 UTC (permalink / raw)
  To: illumos-dev

[-- Attachment #1: Type: text/plain, Size: 145 bytes --]

hi!

Please review: https://code.illumos.org/c/illumos-gate/+/3353

Now, as the cleanups are done, we can turn the switch.

thanks,
toomas

[-- Attachment #2: Type: text/html, Size: 955 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [developer] REVIEW: 16366 Build should default to C99
  2024-03-02  7:18 REVIEW: 16366 Build should default to C99 Toomas Soome
@ 2024-03-03 20:33 ` Richard Lowe
  2024-03-04  4:11 ` Dan Shelton
  1 sibling, 0 replies; 5+ messages in thread
From: Richard Lowe @ 2024-03-03 20:33 UTC (permalink / raw)
  To: illumos-developer

It is important that both libc and libm do not get values-* objects
indicating c99, or XPG versions.
Be sure to double check this didn't happen, when you're testing. :)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [developer] REVIEW: 16366 Build should default to C99
  2024-03-02  7:18 REVIEW: 16366 Build should default to C99 Toomas Soome
  2024-03-03 20:33 ` [developer] " Richard Lowe
@ 2024-03-04  4:11 ` Dan Shelton
  2024-04-26  1:58   ` Dan Shelton
  1 sibling, 1 reply; 5+ messages in thread
From: Dan Shelton @ 2024-03-04  4:11 UTC (permalink / raw)
  To: illumos-developer

On Sat, 2 Mar 2024 at 08:19, Toomas Soome via illumos-developer
<developer@lists.illumos.org> wrote:
>
> hi!
>
> Please review: https://code.illumos.org/c/illumos-gate/+/3353
>
> Now, as the cleanups are done, we can turn the switch.

FYI C99 is almost "legacy" (same level as K&R), while Linux approches
full C17 (sort of fixed C11) support.

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [developer] REVIEW: 16366 Build should default to C99
  2024-03-04  4:11 ` Dan Shelton
@ 2024-04-26  1:58   ` Dan Shelton
  2024-04-26  5:37     ` Toomas Soome
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Shelton @ 2024-04-26  1:58 UTC (permalink / raw)
  To: illumos-developer

On Mon, 4 Mar 2024 at 05:11, Dan Shelton <dan.f.shelton@gmail.com> wrote:
>
> On Sat, 2 Mar 2024 at 08:19, Toomas Soome via illumos-developer
> <developer@lists.illumos.org> wrote:
> >
> > hi!
> >
> > Please review: https://code.illumos.org/c/illumos-gate/+/3353
> >
> > Now, as the cleanups are done, we can turn the switch.
>
> FYI C99 is almost "legacy" (same level as K&R), while Linux approches
> full C17 (sort of fixed C11) support.

Why not make C17 the default?

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [developer] REVIEW: 16366 Build should default to C99
  2024-04-26  1:58   ` Dan Shelton
@ 2024-04-26  5:37     ` Toomas Soome
  0 siblings, 0 replies; 5+ messages in thread
From: Toomas Soome @ 2024-04-26  5:37 UTC (permalink / raw)
  To: illumos-developer



> On 26. Apr 2024, at 04:58, Dan Shelton <dan.f.shelton@gmail.com> wrote:
> 
> On Mon, 4 Mar 2024 at 05:11, Dan Shelton <dan.f.shelton@gmail.com> wrote:
>> 
>> On Sat, 2 Mar 2024 at 08:19, Toomas Soome via illumos-developer
>> <developer@lists.illumos.org> wrote:
>>> 
>>> hi!
>>> 
>>> Please review: https://code.illumos.org/c/illumos-gate/+/3353
>>> 
>>> Now, as the cleanups are done, we can turn the switch.
>> 
>> FYI C99 is almost "legacy" (same level as K&R), while Linux approches
>> full C17 (sort of fixed C11) support.
> 
> Why not make C17 the default?
> 

Of course we can. 

It means, work needs to be done to make it happen, and someone needs to step up. 

I did pick up C11 because we already have kernel build defaulting to C11 and we have clean userland *build* with C11 enabled. So the stepping stone is prepared, and it is up to developers, where we will step from there.

rgds,
toomas

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-26  5:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-02  7:18 REVIEW: 16366 Build should default to C99 Toomas Soome
2024-03-03 20:33 ` [developer] " Richard Lowe
2024-03-04  4:11 ` Dan Shelton
2024-04-26  1:58   ` Dan Shelton
2024-04-26  5:37     ` Toomas Soome

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).