[Bug 608069] Review Request: tango - standard library for D language of d1 specification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=608069

--- Comment #66 from Juan Carlos Castro y Castro <jccyc1965@xxxxxxxxx> 2010-08-14 18:44:10 EDT ---
Tried to build the examples in /usr/share/doc/tango-doc-0.99.9/example with
make -f linux.mak, but it seems to need a command called "bud" which I don't
have. What is that?

Besides, the example below stopped compiling. I get the following error:

/usr/include/d/tango/core/sync/Atomic.d(23): Error: module intrinsics cannot
read file 'ldc/intrinsics.d'

------------------------------
module test;
import tango.io.Stdout: Stdout, Stderr;

void main(){
 uint a = 5;
 uint b = 0;
 //printf same in C
 Stdout.formatln("hello, world");
 //Cout same in C++
 Stdout.formatln("try divide '{}' by '{}'",  a, b);
 //test
 if (b == 0){
  Stderr.formatln("Divide by zero!!");
 }
 else{
  Stdout.formatln("Result: '{}'", a/b);
  Stdout.formatln("Result: '{}'/'{}'='{}'", a, b, a/b);
 }
}
------------------------------

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review


[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]