digitalmars.D.learn - warning LNK4255 - How to solve this warning
- Hipreme (6/6) Oct 18 2022 I get the warning `warning LNK4255: library contain multiple
- =?UTF-8?Q?Ali_=c3=87ehreli?= (4/6) Oct 18 2022 There is 'nm' on Posix systems that lists symbols in object files
- Hipreme (9/17) Oct 18 2022 I have added under lflags :
I get the warning `warning LNK4255: library contain multiple objects of the same name; linking object as if no debug info` when dealing a project with multiple static libraries. Is there any way to know which files produced this error or at least the symbol names that are clashing? I'm totally helpless about this error.
Oct 18 2022
On 10/18/22 12:26, Hipreme wrote:Is there any way to know which files produced this error or at least the symbol names that are clashing? I'm totally helpless about this error.There is 'nm' on Posix systems that lists symbols in object files (including libraries and programs). Ali
Oct 18 2022
On Tuesday, 18 October 2022 at 19:38:39 UTC, Ali Çehreli wrote:On 10/18/22 12:26, Hipreme wrote:I have added under lflags : "/VERBOSE" which activates the verbose mode and "/WX" which treats the warnings as errors (because there is just so many things on linking step) I found some functions but nothing of them feels out of the ordinary. Treating this module as sourceLibrary instead of staticLibrary doesn't cause this warning thoughIs there any way to know which files produced this error orat least thesymbol names that are clashing? I'm totally helpless aboutthis error. There is 'nm' on Posix systems that lists symbols in object files (including libraries and programs). Ali
Oct 18 2022