D.gnu - BUG: dmd->gdc wrapper / compiling HTML sources
- Thomas Kuehne (12/12) Nov 18 2004 There seem to be a bug in the wrapper.
- David Friedman (4/21) Nov 18 2004 The wrapper did not recognize '.html' files as _source_ files. Patch
- Thomas Kuehne (8/11) Nov 18 2004 Thanks David, it's working like a charm. But an other problem occurred:
There seem to be a bug in the wrapper. Note: you have to apply at least the first patch I send earlier today to this list, otherwise other bugs will hide this one. Source file: http://svn.kuehne.cn/dstress/nocompile/html_entity_10.html correct: # > gdc -c html_entity_10.html ; echo $? # html_entity_10.html:3: HTML Error: invalid numeric character reference # 1 bug: # > dmd -c html_entity_10.html ; echo $? # 0 Thomas
Nov 18 2004
Thomas Kuehne wrote:There seem to be a bug in the wrapper. Note: you have to apply at least the first patch I send earlier today to this list, otherwise other bugs will hide this one. Source file: http://svn.kuehne.cn/dstress/nocompile/html_entity_10.html correct: # > gdc -c html_entity_10.html ; echo $? # html_entity_10.html:3: HTML Error: invalid numeric character reference # 1 bug: # > dmd -c html_entity_10.html ; echo $? # 0 ThomasThe wrapper did not recognize '.html' files as _source_ files. Patch for this and some other bugs is attached. David
Nov 18 2004
David Friedman schrieb am Thu, 18 Nov 2004 09:05:30 -0500:The wrapper did not recognize '.html' files as _source_ files. Patch for this and some other bugs is attached. DavidThanks David, it's working like a charm. But an other problem occurred: dmd only returns 0(success) or 1(failure). Your patched script can "die" with a random return value. # > dmd -version123 test.d ; echo $? # unrecognized switch '-version123' at /tmp/svn.kuehne.cn/dstress/dmd line 95. # 9 Thomas
Nov 18 2004