Opened 9 years ago

Last modified 9 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:

Description

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 9 years ago.
GXX3OMF.kmk.diff (449 bytes ) - added by dmik 9 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by dmik, 9 years ago

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.

by dmik, 9 years ago

Attachment: GCC3OMF.kmk.diff added

by dmik, 9 years ago

Attachment: GXX3OMF.kmk.diff added
Note: See TracTickets for help on using tickets.