[Bug 1441] New: Import stdlib.v2 breaks several older functions.
http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1441 Summary: Import stdlib.v2 breaks several older functions. Product: Swift Version: trunk Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: General AssignedTo: [email protected] ReportedBy: [email protected] Here's a small snippet of code: //------------------------------------------------------------------------ import "stdlib.v2"; string output; int j = 1; int i = 9; string _tdir = "/tmp"; string _name = "foo"; // THIS ALONE WORKS trace("%s/A%s/%s%s.f%s", _tdir, pad(1, j), _name, pad(1,j), pad(5, i)); // THIS FAILS! printf("%s/A%s/%s%s.f%s", _tdir, pad(1, j), _name, pad(1,j), pad(5, i)); // THIS FAILS //output = strjoin("foo", "foo"); // PRINTF FAILS //printf("String : %s \n ", output); //------------------------------------------------------------------------ Most of these fail with : Could not start execution: Compile error in procedure invocation at 12: No function or procedure 'printf' found -- Configure bugmail: http://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@mcs.anl.gov