Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - DMC++ mishandles perverse, but legal, revered subscripting syntax for arrays
All compiles except where marked. All should compile int main() { char c; char *p = &c; unsigned x = 0; char b[10]; p[x] = 'o'; x[p] = 'k'; 0[p] = 'r'; b[x] = 'o'; x[b] = 'k'; /* Compiler wrongly gives error */ 0[b] = 'r'; /* Compiler wrongly gives error */ return 0; } Feb 19 2004
Matthew wrote:All compiles except where marked. All should compile Feb 20 2004
Matthew wrote:All compiles except where marked. All should compile Feb 20 2004
Matthew wrote:Matthew wrote:All compiles except where marked. All should compile Feb 20 2004
"Ilya Minkov" <minkov cs.tum.edu> wrote in message news:c169kc$1fdf$2 digitaldaemon.com...Matthew wrote:Matthew wrote:All compiles except where marked. All should compile Feb 20 2004
Matthew wrote:I really don't need to count the reasons, i know i want to get it as soon as it's out. :> Unfortunately, /me would not be able to raise your sales much only by bying it myself. Feb 21 2004
"Matthew" wrote...All compiles except where marked. All should compile Feb 21 2004
He usually posts a response on the NG. Did you try all the cases? I just tried with 8.40.1, and it still fails. "KTC" <me here.com> wrote in message news:c18pf7$30pl$1 digitaldaemon.com..."Matthew" wrote...All compiles except where marked. All should compile Feb 21 2004
"Matthew" wrote...He usually posts a response on the NG. Did you try all the cases? I just tried with 8.40.1, and it still fails. Feb 21 2004
"Matthew" wrote...He usually posts a response on the NG. Did you try all the cases? I just tried with 8.40.1, and it still fails. Feb 21 2004
"Matthew" wrote...That's what I have. I must conclude that I pasted an incomplete version. Including here Feb 22 2004
"KTC" <me here.com> wrote in message news:c1a3um$2ivm$1 digitaldaemon.com..."Matthew" wrote...That's what I have. I must conclude that I pasted an incomplete version. Including here Feb 22 2004
|