Opened 4 years ago

Last modified 4 years ago

#129 new defect

Disable annoying wlink warning on OS/2

Reported by: dmik Owned by:
Priority: major Milestone: 0.1.5
Component: kmk Version: 0.1.5
Keywords: Cc:


When gcc in OMF mode (used by GXX3OMF and GCC3OMF) links an exe or a dll with WL (EMXOMFLD_TYPE=WLINK in the env), WL may spit a lot of warnings like this one:

Warning! W1121: file D:\Coding\vbox\trunk-build\os2.x86\release\obj\VBoxRT\r3\xml.o(D:\Coding\vbox\trunk\src\VBox\Runtime\r3\xml.cpp): '__ZTV9RTCString' has already been exported

which has something to do with weak symbol processing IIRC. This is very annoying and it's better to disable this warning as it's pretty useless.

Attachments (2)

GCC3OMF.kmk.diff (449 bytes) - added by dmik 4 years ago.
GXX3OMF.kmk.diff (449 bytes) - added by dmik 4 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 4 years ago by dmik

The fix is rather trivial (if you don't count searching for a working escaping sequence for the linker option with spaces in its value) and the diffs are attached below.

Changed 4 years ago by dmik

Changed 4 years ago by dmik

Note: See TracTickets for help on using tickets.