D.gnu - [Issue 19] New: byte b; --b = b; // error: non-trivial conversion
- gdc-bugzilla gdcproject.org (35/35) Oct 24 2012 http://gdcproject.org/bugzilla/show_bug.cgi?id=3D19
http://gdcproject.org/bugzilla/show_bug.cgi?id=3D19 Summary: byte b; --b =3D b; // error: non-trivial conversion (int/byte) /w wrong line number Classification: Unclassified Product: GDC Version: 4.7.x Platform: x86_64 OS/Version: Linux Status: NEW Severity: trivial Priority: Normal Component: gdc AssignedTo: ibuclaw gdcproject.org ReportedBy: Marco.Leise gmx.de While I was experimenting with some bit twiddling hacks, I noticed that DMD 2.060 compiles this, while GDC doesn't. It is not a normal error message th= ough (translation to English by me): sudoku.d: In function =C2=BBsudoku.solve=C2=AB: sudoku.d:225:0: Error: non-trivial conversion on assignment int byte *__assignop1747 =3D D.9717; sudoku.d:225: confused by previous errors, abort It prints the line number of the function, not that of the assignment in question. Should this problem have been detected in an earlier compilation stage ? Is there some disagreement on the return type of the prefix (de/in)crement operator between DMD and GDC ? --=20 Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=3Dema= il ------- You are receiving this mail because: ------- You are watching all issue changes.=
Oct 24 2012