Weird Link Error

Daniel danaubie at gmail.com
Thu Sep 20 06:20:08 PDT 2012


On Thursday, 20 September 2012 at 13:12:41 UTC, Adam D. Ruppe 
wrote:
> On Thursday, 20 September 2012 at 13:08:19 UTC, Daniel wrote:
>> undefined reference to `_Dmain'
>
> Does your program have a main() function?

Oh wow I had the main function inside a class, I can't believe 
the answer was so simple. I feel like an idiot now.


More information about the Digitalmars-d mailing list