Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
March 12, 2010 [Issue 3940] New: altsep not found | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3940 Summary: altsep not found Product: D Version: 2.040 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: ellery-newcomer@utulsa.edu --- Comment #0 from Ellery Newcomer <ellery-newcomer@utulsa.edu> 2010-03-12 13:38:41 PST --- import std.stdio; import std.path; void main(){ writeln(altsep == ""); } causes linker errors: test.o: In function `_Dmain': test.d:(.text._Dmain+0x17): undefined reference to `_D3std4path6altsepyG0a' collect2: ld returned 1 exit status --- errorlevel 1 perhaps sep, altsep, et al should be redefined as dynamic array types? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 13, 2010 [Issue 3940] altsep not found | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | http://d.puremagic.com/issues/show_bug.cgi?id=3940 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2010-03-12 23:23:17 PST --- There isn't an alternate separator on Linux, making a dummy one doesn't make much sense. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 13, 2010 [Issue 3940] altsep not found | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | http://d.puremagic.com/issues/show_bug.cgi?id=3940 --- Comment #2 from Ellery Newcomer <ellery-newcomer@utulsa.edu> 2010-03-13 08:12:27 PST --- (In reply to comment #1) > There isn't an alternate separator on Linux, making a dummy one doesn't make much sense. Then why does there pretend to be one? It's defined as static if(Posix){ immutable char[0] altsep; } Makes writing portable code more obnoxious. Perhaps an array of separators could be defined, e.g. static if(Windows){ immutable string[] seps = [sep, altsep]; } static if(Posix){ immutable string[] seps = [sep] } would express the fact a bit more cleanly -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 09, 2011 [Issue 3940] altsep not found | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | http://d.puremagic.com/issues/show_bug.cgi?id=3940 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei@metalanguage.com AssignedTo|nobody@puremagic.com |andrei@metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 26, 2011 [Issue 3940] altsep not found | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | http://d.puremagic.com/issues/show_bug.cgi?id=3940 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |andrej.mitrovich@gmail.com Resolution| |FIXED --- Comment #3 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-05-26 14:09:18 PDT --- They're now defined for both win & linux, but it's an empty string in linux, and "/" on windows. Marking this as fixed. -- 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