https://issues.dlang.org/show_bug.cgi?id=14186
Nick Treleaven changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=14186
Andrei Alexandrescu changed:
What|Removed |Added
Version|D1 & D2 |D2
--
https://issues.dlang.org/show_bug.cgi?id=14186
yebblies changed:
What|Removed |Added
CC||yebbl...@gmail.com
--- Comment #7 from yebblies
https://issues.dlang.org/show_bug.cgi?id=14186
--- Comment #6 from ag0ae...@gmail.com ---
(In reply to Sobirari Muhomori from comment #5)
> Looks like gcc has some history under this issue:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6905
That ticket is about C++ though. But if C99 changed/cla
https://issues.dlang.org/show_bug.cgi?id=14186
--- Comment #5 from Sobirari Muhomori ---
Looks like gcc has some history under this issue:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6905
--
https://issues.dlang.org/show_bug.cgi?id=14186
--- Comment #4 from ag0ae...@gmail.com ---
(In reply to Sobirari Muhomori from comment #3)
> Can you confirm it with --std=c99 -pedantic?
Same error:
$ gcc --std=c99 -pedantic test.c
test.c: In function ‘main’:
test.c:5:15: error: lvalue requir
https://issues.dlang.org/show_bug.cgi?id=14186
--- Comment #3 from Sobirari Muhomori ---
Can you confirm it with --std=c99 -pedantic?
--
https://issues.dlang.org/show_bug.cgi?id=14186
--- Comment #2 from Sobirari Muhomori ---
Interesting, C99 and C11 don't allow for that:
assignment-expression:
conditional-expression
unary-expression assignment-operator assignment-expression
i.e. same precedence right-to-left associative.
-
https://issues.dlang.org/show_bug.cgi?id=14186
ag0ae...@gmail.com changed:
What|Removed |Added
CC||ag0ae...@gmail.com
--- Comment #1 from a