Thanks for clarification,i highly appreciate your suggestionNever use same
public function name in different modules because is wrong and dangerous
Now i try rewrite each situation to better manage this
I think remove duplication function using #if def
If other user have made similar situation i invite share his experience will
be useful for everybody
I think fault because In personalised getlist,errorlist use same public
function mane


2009/4/20 Viktor Szakáts <[email protected]>

> I don't know either since I never use the same public function name in
> different modules, sorry. My opinion's that such practice
> is wrong, but at least compiler/linker implementation dependent,
> thus non-portable and dangerous. Anyway it's not a hbmk2 issue,
> so I cannot fix it there. If you want you can suppress it by
> passing appropriate linker commands via -ldflag= hbmk2 option.
>
> Brgds,
> Viktor
>
> On Mon, Apr 20, 2009 at 8:18 PM, Massimo Belgrano <[email protected]>wrote:
>
>> sorry i not undestrand How can resove for example
>> delta4hh.lib(VARIE_D.obj) : error LNK2005: _HB_FUN_MESSAGGIO già
>> definito in ARALOG.obj
>> Getsys maj be not a problem)
>> In clipper if i have a function named messaggio on mylib.lib and a
>> function named messaggio in mysample.prg
>> if work function messaggio in my sample overwrite that in mylib.lib
>>
>>  i have successfull recompile with bcc same bcc script
>> Will bcc having different feature?
>
>
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
>


-- 
Massimo Belgrano
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to