How to suppress warning selectively in Sun8 CC6.0
Hello,
I am using CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-14 2003/03/24 compiler.
Machine Sun8.
Getting a lot of waring from libC++(ostream/iosteam/map etc).
Is there anyway to suppress selectively these warnings.
Urgent!! Please,
-mukti
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 73:Where: While specializing "std::basic_ios<char, std::char_traits><char>>".
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 73:Where: Specialized in std::basic_ostream<char, std::char_traits><char>>.
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 363:Where: Specialized in non-template code.
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ios", line 148: Warning: std::basic_ios<wchar_t, std::char_traits><wchar_t>>::copyfmt hides the function std::ios_base::copyfmt(const std::ios_base&).
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 73:Where: While specializing "std::basic_ios<wchar_t, std::char_traits><wchar_t>>".
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 73:Where: Specialized in std::basic_ostream<wchar_t, std::char_traits><wchar_t>>.
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 366:Where: Specialized in non-template code.
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./utility", line 101: Warning: "std::basic_string<char, std::char_traits><char>, std::allocator<char>>::basic_string(const std::basic_string<char, std::char_traits><char>, std::allocator<char>>&)" is too large and will not be expanded inline.
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./string", line 283: Warning: "std::basic_string<char, std::char_traits><char>, std::allocator<char>>::__unLink()" is too large and will not be expanded inline.
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/rw/tree", line 499: Warning: "__rwstd::__rb_tree<std::basic_string><char, std::char_traits><char>, std::allocator<char>>, std::pair<const std::basic_string><char, std::char_traits><char>, std::allocator<char>>, int>, __rwstd::__select1st<std::pair><const std::basic_string><char, std::char_traits><char>, std::allocator<char>>, int>, std::basic_string<char, std::char_traits><char>, std::allocator<char>>>, std::less<std::basic_string><char, std::char_traits><char>, std::allocator<char>>>, std::allocator<std::pair><const std::basic_string><char, std::char_traits><char>, std::allocator<char>>, int>>>::init()" is too large and will not be expanded inline.
5 Warning(s) detected.
=============================================================
Creating TvlParser layer object /u/mukti/Projects/TDL/TvlParser/Makefiles/../CompiledObjects/TDL/SUN32_SCC/Para meterValue.o from /u/mukti/Projects/TDL/TvlParser/Makefiles/../Source/TvlParser/ParameterValue.c
=============================================================
/software/forte/6.2_unpatched/SUNWspro/bin/CC -c -features=no%conststrings -features=no%localfor -KPIC -xO4 +w -I/u/mukti/Projects/TDL/TvlParser/Makefiles/../Includes/AccessData/ -I/u/mukti/Projects/TDL/TvlParser/Makefiles/../Includes/Apps/ -I/u/mukti/Projects/TDL/TvlParser/Makefiles/../Includes/BasicParameter++/ -I/u/mukti/Projects/TDL/TvlParser/Makefiles/../Includes/Common/ -I/u/mukti/Projects/TDL/TvlParser/Makefiles/../Includes/Context/ -I/u/mukti/Projects/TDL/TvlParser/Makefiles/../Includes/MessageHandler/ -I/u/mukti/Projects/TDL/TvlParser/Makefiles/../Includes/Parser/ -I/u/mukti/Projects/TDL/TvlParser/Makefiles/../Includes/Parser/TI_TDL -I/u/mukti/Projects/TDL/TvlParser/Makefiles/../Includes/PersistData/ -I/u/mukti/Projects/TDL/TvlParser/Makefiles/../Includes/TvlParser++/ -I/u/mukti/Projects/TDL/TvlParser/Makefiles/../Source/Parser/TI_TDL/ -I/u/mukti/Projects/TDL/TvlParser/Makefiles/../CompiledObjects/TDL/SUN32_SCC/ /u/mukti/Projects/TDL/TvlParser/Makefiles/../Source/TvlParser/ParameterValue.c -o /u/mukti/Projects/TDL/TvlParser/Makefiles/../CompiledObjects/TDL/SUN32_SCC/Para meterValue.o
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ios", line 148: Warning: std::basic_ios<char, std::char_traits><char>>::copyfmt hides the function std::ios_base::copyfmt(const std::ios_base&).
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 73:Where: While specializing "std::basic_ios<char, std::char_traits><char>>".
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 73:Where: Specialized in std::basic_ostream<char, std::char_traits><char>>.
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 363:Where: Specialized in non-template code.
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ios", line 148: Warning: std::basic_ios<wchar_t, std::char_traits><wchar_t>>::copyfmt hides the function std::ios_base::copyfmt(const std::ios_base&).
"/software/forte/6.2_unpatched/SUNWspro/WS6U2/include/CC/Cstd/./ostream", line 73:Where: While specializing "std::basic_ios<wchar_t, std::char_traits><wchar_t>>".

