Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: undefined reference to _GC_malloc



It seems to be happening when gc.lib is listed before my static libraries on
the linker configuration page: "Additional files to include in lnk" section
of the application project.
If I make sure that it is listed afterwards, I don't get this error.

Hmm. strange.  I have included gc.lib in the project for the static library,
yet still the error occurs unless I do as above.

Cheers for your help
- Luke

"Friedrich Dominicus" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Luke Hudson" <[EMAIL PROTECTED]> writes:
>
>
> >
> > Perhaps it is a bug in lcc, as I am using the lcc extensions:
> > eg generic functions, and the lpVtbl shortcut.
>
> Well I use the GC in all my programs, I used them too with generic
> functions and the lpVtbl stuff. Have you checked the makefile if they
> look correct?
>
> Regards
> Friedrich





<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.