diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-02-27 20:54:31 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-02-27 20:54:31 (GMT) |
commit | 2b0b348ae2a0715f9a705404d7b01b85f863c043 (patch) | |
tree | 18868545578394448db58e5af381705fc5f0c0ad /c++/config | |
parent | bda14a210ec7d7bd7be3ff6aab2843bbd5fdc554 (diff) | |
download | hdf5-2b0b348ae2a0715f9a705404d7b01b85f863c043.zip hdf5-2b0b348ae2a0715f9a705404d7b01b85f863c043.tar.gz hdf5-2b0b348ae2a0715f9a705404d7b01b85f863c043.tar.bz2 |
[svn-r10100] Description:
Many warnings about duplicate symbols for various members in the std.
Solution:
Temporarily added -qweaksymbol to suppress linker messages warning
of duplicate symbols since these warnings are harmless.
Note from pSeries and AIX Information Center:
When compiling C++ programs containing extern inline functions,
you can use the -qweaksymbol compiler option to suppress linker
messages warning of duplicate symbols.
Hoping that a better solution is suggested or the problem will be
handled by the compiler in the future.
Platforms tested:
AIX 5.1 (copper)
Misc. update:
Diffstat (limited to 'c++/config')
-rw-r--r-- | c++/config/powerpc-ibm-aix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c++/config/powerpc-ibm-aix b/c++/config/powerpc-ibm-aix index f9086a0..d554a85 100644 --- a/c++/config/powerpc-ibm-aix +++ b/c++/config/powerpc-ibm-aix @@ -8,3 +8,7 @@ # Use AIX supplied C++ compiler by default. CXX=${CXX=xlC} + +# Added -qweaksymbol to suppress linker messages warning of duplicate +# symbols; these warnings are harmless. +CXXFLAGS="$CXXFLAGS -qweaksymbol" |