Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify definiton of seekoff and seekpos #2

Open
wants to merge 1 commit into
base: patch_1_55
Choose a base branch
from

Conversation

aokomoriuta
Copy link

Remove below warning

"../../boost/boost/format/alt_sstream.hpp", line 98: 警告 #997-D: 関数  "std::basic_streambuf<_CharT, _Traits>::seekoff(_Traits::off_type, std::ios_base::seekdir, std::ios_base::openmode, std::ios_base::_StlpFjSeek) [with _CharT=char, _Traits=std::char_traits<char>]" が "boost::io::basic_altstringbuf<Ch, Tr, Alloc>::seekoff [with Ch=char, Tr=std::char_traits<char>, Alloc=std::allocator<char>]" により隠されました。誤った宣言である可能性 があります。
              virtual pos_type seekoff(off_type off, ::std::ios_base::seekdir way,
                               ^
          解析中:
            クラス  "boost::io::basic_altstringbuf<Ch, Tr, Alloc> [with Ch=char, Tr=std::char_traits<char>, Alloc=std::allocator<char>]" at line 161 of "../../boost/boost/format/format_class.hpp" のインスタンシェーション
            クラス  "boost::basic_format<Ch, Tr, Alloc> [with Ch=char, Tr=std::char_traits<char>, Alloc=std::allocator<char>]" at line 26 of "OpenMpsMain.cpp" のインスタンシェーション

and

"../../boost/boost/format/alt_sstream.hpp", line 101: 警告 #997-D: 関数  "std::basic_streambuf<_CharT, _Traits>::seekpos(_Traits::pos_type, std::ios_base::openmode, std::ios_base::_StlpFjSeek) [with _CharT=char, _Traits=std::char_traits<char>]" が "boost::io::basic_altstringbuf<Ch, Tr, Alloc>::seekpos [with Ch=char, Tr=std::char_traits<char>, Alloc=std::allocator<char>]" により隠されました。誤った宣言である可能性があります。
              virtual pos_type seekpos (pos_type pos,
                               ^
          解析中:
            クラス  "boost::io::basic_altstringbuf<Ch, Tr, Alloc> [with Ch=char, Tr=std::char_traits<char>, Alloc=std::allocator<char>]" at line 161 of "../../boost/boost/format/format_class.hpp" のインスタンシェーション
            クラス  "boost::basic_format<Ch, Tr, Alloc> [with Ch=char, Tr=std::char_traits<char>, Alloc=std::allocator<char>]" at line 26 of "OpenMpsMain.cpp" のインスタンシェーション

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant