Question about version ( ) keyword

2016-03-21 Thread Vincent R via Digitalmars-d
Hi, When looking at core definitions like core.sys.posix.pthread I can see some "duplicated" code because it seems version doesn't support Or as we would do in C/C++ with #ifdefined. For instance if can read this: version( CRuntime_Glibc ) { enum PTHREAD_BARRIER_SERIAL_THREAD = -1;

Re: How can I report what I think a compiler's frontend bug

2016-03-21 Thread Vincent R via Digitalmars-d
On Monday, 21 March 2016 at 11:00:08 UTC, Vincent R wrote: On Monday, 21 March 2016 at 09:46:18 UTC, Vincent R wrote: On Monday, 21 March 2016 at 01:51:09 UTC, Marco Leise wrote: Am Sun, 20 Mar 2016 22:37:37 + schrieb Vincent R : [...] Thanks and you see I was right to

Re: How can I report what I think a compiler's frontend bug

2016-03-21 Thread Vincent R via Digitalmars-d
On Monday, 21 March 2016 at 09:46:18 UTC, Vincent R wrote: On Monday, 21 March 2016 at 01:51:09 UTC, Marco Leise wrote: Am Sun, 20 Mar 2016 22:37:37 + schrieb Vincent R : [...] Thanks and you see I was right to post here since I finally found the problem and got an

Re: How can I report what I think a compiler's frontend bug

2016-03-21 Thread Vincent R via Digitalmars-d
On Monday, 21 March 2016 at 01:51:09 UTC, Marco Leise wrote: Am Sun, 20 Mar 2016 22:37:37 + schrieb Vincent R : [...] Thanks and you see I was right to post here since I finally found the problem and got an answer :-)

Re: How can I report what I think a compiler's frontend bug

2016-03-20 Thread Vincent R via Digitalmars-d
On Sunday, 20 March 2016 at 19:06:32 UTC, Johan Engelen wrote: On Sunday, 20 March 2016 at 17:57:12 UTC, Vincent R wrote: On Sunday, 20 March 2016 at 16:16:18 UTC, Marco Leise wrote: Am Sun, 20 Mar 2016 11:28:19 + schrieb Vincent R : Hi, I would like to start a new

Re: How can I report what I think a compiler's frontend bug

2016-03-20 Thread Vincent R via Digitalmars-d
On Sunday, 20 March 2016 at 16:16:18 UTC, Marco Leise wrote: Am Sun, 20 Mar 2016 11:28:19 + schrieb Vincent R : Hi, I would like to start a new project (a bonjour/zeroconf wrapper and a gui browser using it). For the gui part I would like to use my existing skills using

How can I report what I think a compiler's frontend bug

2016-03-20 Thread Vincent R via Digitalmars-d
Hi, I would like to start a new project (a bonjour/zeroconf wrapper and a gui browser using it). For the gui part I would like to use my existing skills using wxWidgets wrapper (wxD). So I have started to report a problem a few months ago:

Re: Linker error with dmd when trying to generate wxWidgets wrapper on Windows (msys2/mingw-w64)

2015-12-09 Thread Vincent R via Digitalmars-d
On Tuesday, 1 December 2015 at 16:46:21 UTC, Vincent R wrote: On Tuesday, 1 December 2015 at 10:21:11 UTC, Luis wrote: On Monday, 30 November 2015 at 09:23:33 UTC, Vincent R wrote: On Friday, 27 November 2015 at 09:56:10 UTC, Kagamin wrote: The bug report is

Re: Linker error with dmd when trying to generate wxWidgets wrapper on Windows (msys2/mingw-w64)

2015-12-01 Thread Vincent R via Digitalmars-d
On Tuesday, 1 December 2015 at 10:21:11 UTC, Luis wrote: On Monday, 30 November 2015 at 09:23:33 UTC, Vincent R wrote: On Friday, 27 November 2015 at 09:56:10 UTC, Kagamin wrote: The bug report is https://issues.dlang.org/show_bug.cgi?id=15324 Just hope it will be fixed soon because I gave

Re: Linker error with dmd when trying to generate wxWidgets wrapper on Windows (msys2/mingw-w64)

2015-11-30 Thread Vincent R via Digitalmars-d
On Friday, 27 November 2015 at 09:56:10 UTC, Kagamin wrote: The bug report is https://issues.dlang.org/show_bug.cgi?id=15324 Just hope it will be fixed soon because I gave up D 7 years ago (too many bugs, war between phobos, tango, very young language) and now I realize it still very

Linker error with dmd when trying to generate wxWidgets wrapper on Windows (msys2/mingw-w64)

2015-11-26 Thread Vincent R via Digitalmars-d
Hi, I have a problem to generate D wrapper for wxWidgets (wxD) on msys2/mingw64. Here is how to reproduce it: 1) Install msys2 from here http://msys2.github.io/ 2) Launch msys2 terminal and add dmc/dmd to PATH $ mkdir tmp && cd tmp $ export

Re: How to fix "Error symbol '.....' is already defined"

2015-11-12 Thread Vincent R via Digitalmars-d-learn
On Thursday, 12 November 2015 at 08:45:57 UTC, Kagamin wrote: Looks like a bug in the compiler. In this case it means there is a bug inside dmd and gdc (didn't try ldc)...

How to fix "Error symbol '.....' is already defined"

2015-11-11 Thread Vincent R via Digitalmars-d-learn
Hi, I have a small project and I would like to use D to build it. I am working on Windows and I have already generated a gdc compiler through msys2/mingw64 and now I would like to compile the old.unmaintained wxWidgets wrapper called wxd. I have forked the project here:

Re: Generate wxD with dmc/dmd

2015-11-09 Thread Vincent R via Digitalmars-d
On Saturday, 7 November 2015 at 22:12:55 UTC, Vincent R wrote: Hi, I am trying to generate the wxWidgets wrapper wxD on Windows through msys/mingw64(or cygwin). So I have downloaded wxWidgets-2.8.12 and dmd c++/d compiler respectively dmc/dmd but I still have an error. Let's consider we are

Generate wxD with dmc/dmd

2015-11-07 Thread Vincent R via Digitalmars-d
Hi, I am trying to generate the wxWidgets wrapper wxD on Windows through msys/mingw64(or cygwin). So I have downloaded wxWidgets-2.8.12 and dmd c++/d compiler respectively dmc/dmd but I still have an error. Let's consider we are using cygwin: $ export

Re: D bindings for Bonjour

2015-10-28 Thread Vincent R via Digitalmars-d-learn
On Wednesday, 28 October 2015 at 16:09:02 UTC, Cauterite wrote: On Wednesday, 28 October 2015 at 16:04:52 UTC, Vincent R wrote: [...] enum kDNSServiceOutputFlags = (kDNSServiceFlagsValidate | kDNSServiceFlagsValidateOptional | kDNSServiceFlagsMoreComing | kDNSServiceFlagsAdd |

D bindings for Bonjour

2015-10-28 Thread Vincent R via Digitalmars-d-learn
Hi, I am starting my first project in D and I would like to do a Bonjour(Zeroconf) browser app. My first task is to write a binding to the dns_sd library but I have an issue with the following macro: #define kDNSServiceOutputFlags (kDNSServiceFlagsValidate | kDNSServiceFlagsValidateOptional

Re: D bindings for Bonjour

2015-10-28 Thread Vincent R via Digitalmars-d-learn
On Wednesday, 28 October 2015 at 16:12:08 UTC, Vincent R wrote: On Wednesday, 28 October 2015 at 16:09:02 UTC, Cauterite wrote: On Wednesday, 28 October 2015 at 16:04:52 UTC, Vincent R wrote: [...] enum kDNSServiceOutputFlags = (kDNSServiceFlagsValidate | kDNSServiceFlagsValidateOptional |

Re: D bindings for Bonjour

2015-10-28 Thread Vincent R via Digitalmars-d-learn
On Wednesday, 28 October 2015 at 16:53:15 UTC, Daniel Kozák wrote: V Wed, 28 Oct 2015 16:36:32 + Vincent R via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> napsáno: On Wednesday, 28 October 2015 at 16:12:08 UTC, Vincent R wrote: > On Wednesday, 28 October 2015 at 16: