Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 11, 2013 [Issue 10335] New: Error messages should have unique ID | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10335 Summary: Error messages should have unique ID Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: simen.kjaras@gmail.com --- Comment #0 from Simen Kjaeraas <simen.kjaras@gmail.com> 2013-06-11 08:15:12 PDT --- In the Visual C++ and Visual C# compilers, error messages have unique IDs. This makes them easy to google, and information about each error can easily be created and enumerated in a wiki or other database. These error codes need not necessarily be the same in DMD as in GDC, LDC, or other D compilers, but at least within DMD it would be nice to have consistent IDs between releases. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 11, 2013 [Issue 10335] Error messages should have unique ID | ||||
---|---|---|---|---|
| ||||
Posted in reply to Simen Kjaeraas | http://d.puremagic.com/issues/show_bug.cgi?id=10335 bearophile_hugs@eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs@eml.cc --- Comment #1 from bearophile_hugs@eml.cc 2013-06-11 09:45:58 PDT --- I think this enhancement is a good idea, despite requiring some work to be implemented. One discussion: http://forum.dlang.org/thread/ojuvtluqkqazaejuqlff@forum.dlang.org (In reply to comment #0) > These error codes need not necessarily be the same in DMD as in GDC, LDC, or other D compilers, but at least within DMD it would be nice to have consistent IDs between releases. It's much better for error message IDs to be standard for all D compilers, to simplify both the documentation and the ease for the programmer to debug code using different compilers. I think the C# error numbers are the same between dotnet and mono. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 11, 2013 [Issue 10335] Error messages should have unique ID | ||||
---|---|---|---|---|
| ||||
Posted in reply to Simen Kjaeraas | http://d.puremagic.com/issues/show_bug.cgi?id=10335 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-06-11 14:04:13 PDT --- Yeah, I had this thought before too. A page with a list of IDs, error message descriptions and how to work around them and fix the code would be very useful to have. Currently the only thing we have is this: http://dlang.org/warnings.html -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 11, 2013 [Issue 10335] Error messages should have unique ID | ||||
---|---|---|---|---|
| ||||
Posted in reply to Simen Kjaeraas | http://d.puremagic.com/issues/show_bug.cgi?id=10335 --- Comment #3 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-06-11 14:06:09 PDT --- (In reply to comment #2) > Yeah, I had this thought before too. A page with a list of IDs, error message descriptions and how to work around them and fix the code would be very useful to have. > > Currently the only thing we have is this: http://dlang.org/warnings.html Note that we should consider making and distributing a simple text file which is then processed and converted into an HTML file. The reason why is that it would allow IDE tools to read this text file and then display the full information of a given error/warning ID. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation