digitalmars.D.bugs - Error: static if conditional cannot be at global scope
- kris (10/10) Apr 12 2006 This is an unfixed DDOC bug:
- Sean Kelly (7/23) Apr 12 2006 Reported a while back:
- Sean Kelly (5/30) Apr 12 2006 By the way, I also get bad HTML output from DDoc on a module or two
- kris (2/32) Apr 12 2006 Thanks, Sean. Good idea with the -version
This is an unfixed DDOC bug: /** */ struct AtoiT(T) { static if (!is (T == char) && !is (T == wchar)) pragma (msg, "Template type must be char or wchar"); } dmd -D "Error: static if conditional cannot be at global scope"
Apr 12 2006
kris wrote:This is an unfixed DDOC bug: /** */ struct AtoiT(T) { static if (!is (T == char) && !is (T == wchar)) pragma (msg, "Template type must be char or wchar"); } dmd -D "Error: static if conditional cannot be at global scope"Reported a while back: http://d.puremagic.com/bugzilla/show_bug.cgi?id=23 I'm currently using a -version=DDoc flag during documentation generation to produce a hacked version that DDoc will accept. Not at all ideal, but it works :-p Sean
Apr 12 2006
Sean Kelly wrote:kris wrote:By the way, I also get bad HTML output from DDoc on a module or two (std.thread in Ares is one) and have been post-processing the file by hand. But I've yet to take the time to produce a minimal repro. SeanThis is an unfixed DDOC bug: /** */ struct AtoiT(T) { static if (!is (T == char) && !is (T == wchar)) pragma (msg, "Template type must be char or wchar"); } dmd -D "Error: static if conditional cannot be at global scope"Reported a while back: http://d.puremagic.com/bugzilla/show_bug.cgi?id=23 I'm currently using a -version=DDoc flag during documentation generation to produce a hacked version that DDoc will accept. Not at all ideal, but it works :-p
Apr 12 2006
Sean Kelly wrote:kris wrote:Thanks, Sean. Good idea with the -versionThis is an unfixed DDOC bug: /** */ struct AtoiT(T) { static if (!is (T == char) && !is (T == wchar)) pragma (msg, "Template type must be char or wchar"); } dmd -D "Error: static if conditional cannot be at global scope"Reported a while back: http://d.puremagic.com/bugzilla/show_bug.cgi?id=23 I'm currently using a -version=DDoc flag during documentation generation to produce a hacked version that DDoc will accept. Not at all ideal, but it works :-p Sean
Apr 12 2006