Project

General

Profile

Actions

Bug #827

closed

Suppress Solaris warnings about "attempted multiple inclusion of file"

Added by Marco Eichelberg over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
2018-05-02
Due date:
% Done:

100%

Estimated time:
Module:
Operating System:
Solaris 11
Compiler:
SunPro (when building with shared libraries)

Description

When compiling on Solaris with shared libraries, the Solaris linker issues about 150 warnings of the following kind:

ld: warning: file ../../lib/libofstd.so.3.6.3: attempted multiple inclusion of file

This warning seems to be harmless and specific to Solaris, but the large number of warnings hides possible relevant warnings that may be present.
Since apparently the warning cannot be suppressed by linker option, it should be filtered out, e.g. by specifying a script as linker that calls "ld" but removes this warning from the output.

Actions

Also available in: Atom PDF