TIL POSIX puts a requirement on perror not to change the orientation of stderr, which seems to conflict with ISO C. http://stackoverflow.com/questions/39950678/why-perror-changes-orientation-of-stream-when-it-is-redirected …
-
-
Replying to @RichFelker
Please tell me a place where POSIX *doesn't* contradict ISO C. From 8 bit char requirement to casting fcn ptr to void :D!
1 reply 0 retweets 0 likes -
Replying to @cr1901
Neither of those contradict. Impls that conform to POSIX are a subset of impls that conform to C.
2 replies 0 retweets 0 likes -
Replying to @RichFelker
First one yes, but isn't casting fcn ptr to void UB in ANSI C? Or did they change it by C11?
2 replies 0 retweets 0 likes
Replying to @cr1901
It's undefined by omission (look in 6.3.2.3); thus, a more specific standard is able to define it however it wants.
8:04 AM - 10 Oct 2016
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.