Ancestors

Toot

Written by Björkus "No time_t to Die" Dorkus on 2024-12-03 at 22:03

Someone with FreeBSD crack open a text editor and input:

int main () {

 return (int)(char32_t)0;

}

and tell me if you can ${cc} -std=c17 file.c -o file

=> More informations about this toot | More toots from thephd@pony.social

Descendants

Written by Henrý Ólson on 2024-12-03 at 22:17

@thephd cc @kar

=> More informations about this toot | More toots from nemo@camp.crates.im

Written by rk: could be an enum on 2024-12-03 at 22:28

@nemo @thephd @kar

Given the context I first read “cc” as “cc” and not “cc”

=> More informations about this toot | More toots from rk@well.com

Written by pancomputans on 2024-12-04 at 01:10

@thephd On FreeBSD 14.2 cc (which is clang 18.1.6) compiles without warning and returns exit code 0 upon execution. Default compiler on FreeBSD 10 does not like -std=c17 but non-default 6.0 works just as fine as the 18.1.6 clang on 14.2.

=> More informations about this toot | More toots from pancomputans@norden.social

Written by SeanGugler on 2024-12-04 at 04:39

@thephd I feel like I should plug https://godbolt.org/ - might not have been helpful this time, but often useful when you know exactly which compiler needs testing.

=> More informations about this toot | More toots from SeanGugler@mastodon.online

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113591152386207307
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
260.894025 milliseconds
Gemini-to-HTML Time
1.460938 milliseconds

This content has been proxied by September (3851b).