Re: [Harbour] Mingw and hb_errInternal()

2009-05-28 Thread Petr Chornyj
Alexander S.Kresin wrote: > > Hi All, > > as I wrote before, I overloaded hb_errInternal() in letodb source > file. Bcc and Linux gcc accepted this normally, but mingw gives error - > multiply definition of hb_errInternal. Is there any way to solve this > problem ? > > Hi, I think you

Re: [Harbour] Mingw and hb_errInternal()

2009-05-28 Thread Massimo Belgrano
I try a reply with information that i know. You can't overload a function (hb_errInternal) but a module object represented by entire file prg.In bcc it was allowed but is not a good pratice having duplicated public symbol Can you reproduce a sample for better uderstand ? 2009/5/28 Alexander S.Kr

[Harbour] Mingw and hb_errInternal()

2009-05-28 Thread Alexander S.Kresin
Hi All, as I wrote before, I overloaded hb_errInternal() in letodb source file. Bcc and Linux gcc accepted this normally, but mingw gives error - multiply definition of hb_errInternal. Is there any way to solve this problem ? Regards, ALexander. _