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
@thephd cc @kar
=> More informations about this toot | More toots from nemo@camp.crates.im
@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
@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
@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 This content has been proxied by September (3851b).Proxy Information
text/gemini