Am Tue, 07 Apr 2015 20:38:52 +0000 schrieb "Jens Bauer" <doc...@who.no>:
> On Tuesday, 7 April 2015 at 20:33:26 UTC, Jens Bauer wrote: > > Question number 1: How can a C subroutine be made optional, so > > it's called only if it linked ? > > Question 1 might be answered by the following thread: > http://forum.dlang.org/thread/mg1bad$30uk$1...@digitalmars.com > -So no need to answer question 1. ;) I actually saw these errors when I first tested your examples, but I thought that was a mistake in the example code. I didn't even know that extern weak symbols get default values in C ;-)