digitalmars.D - UDA / File missing from fedora package / Packaging
- Mathias L. (34/34) Jun 24 2013 Hi everybody!
- Dicebot (2/6) Jun 24 2013 http://dlang.org/attribute.html#uda
- Mathias L. (3/9) Jun 24 2013 Thanks for the link, I missed that part.
Hi everybody! Going from strong C(++) background, I've discovered it and became a fan at the first sight. So now, while learning the language, I'd tried this example: http://dlang.org/phobos/std_concurrency.html [Mathias Mars DPlayground]$ dmd server.d server.d(6): Error: module thread is in file 'std/thread.d' which cannot be read import path[0] = /usr/include/dmd/phobos import path[1] = /usr/include/dmd/druntime/import [Mathias Mars DPlayground]$ rpm -qa dmd dmd-2.063.2-0.x86_64 List of files provided by package dmd: [Mathias Mars DPlayground]$ rpm -ql dmd | grep thread /usr/include/dmd/druntime/import/core/sys/osx/mach/thread_act.d /usr/include/dmd/druntime/import/core/sys/osx/pthread.d /usr/include/dmd/druntime/import/core/sys/posix/pthread.d /usr/include/dmd/druntime/import/core/sys/windows/threadaux.d /usr/include/dmd/druntime/import/core/thread.di /usr/include/dmd/phobos/std/c/linux/pthread.d /usr/share/dmd/html/d/phobos/core_thread.html /usr/share/dmd/html/d/phobos/std_thread.html Is it a bug in packaging, or I am missing something ? Speaking about packaging, the "make install" rule of phobos doesn't seems correct to me ( https://github.com/D-Programming-Language/phobos/blob/master/posix.mak ). It even contradicts with itself, stating the files are installed in /usr/lib/ while $INSTALL_DIR is ../install Is a fix welcome ? Last, and least, I've seen UDA around few times. Google didn't gave so much results, and this term is not defined in the glossary. Can someone introduce me to the concept (or at least, tell me what it stands for) ? Thanks in advance !
Jun 24 2013
On Monday, 24 June 2013 at 14:12:19 UTC, Mathias L. wrote:Last, and least, I've seen UDA around few times. Google didn't gave so much results, and this term is not defined in the glossary. Can someone introduce me to the concept (or at least, tell me what it stands for) ?http://dlang.org/attribute.html#uda
Jun 24 2013
On Monday, 24 June 2013 at 14:22:39 UTC, Dicebot wrote:On Monday, 24 June 2013 at 14:12:19 UTC, Mathias L. wrote:Thanks for the link, I missed that part. The missing header was just a stupid C/C that I missed.Last, and least, I've seen UDA around few times. Google didn't gave so much results, and this term is not defined in the glossary. Can someone introduce me to the concept (or at least, tell me what it stands for) ?http://dlang.org/attribute.html#uda
Jun 24 2013