| |||
| Home > Linker command-line options > --muldefweak, --no_muldefweak | |||
This option enables or disables multiple weak definitions of a symbol.
If enabled, the linker chooses the first definition that it encounters and discards all the other duplicate definitions. If disabled, the linker generates an error message for all multiply defined weak symbols.