Re: bug report: 20100608 mingw fails to link imported function
Bernard Berthomieu <[email protected]>
| Newsgroups | gmane.comp.lang.ml.mlton.devel |
|---|---|
| Message-ID | <[email protected]> |
Wesley W. Terpstra wrote: > On Tue, Sep 21, 2010 at 11:28 AM, Bernard Berthomieu <[email protected] > <mailto:[email protected]>> wrote: > > let val intsize = _import "IntSize" : unit -> int; > C:\Users\bernard\AppData\Local\Temp\fileaVhuWq.o:fake:(.text+0x38fc): > undefined reference to `_imp__IntSize' > > > You are probably statically linking the symbol, not dynamically > linking. This distinction only matters on Windows. > > Use _import "intSize" public : unit -> int; Oops. My code was working on 20070826 and I missed that change ... Not a bug then :-) , sorry. Bernard.