bochspwn-reloaded icon indicating copy to clipboard operation
bochspwn-reloaded copied to clipboard

Comiling symbols.cc error

Open xinali opened this issue 5 years ago • 0 comments

g++ version

# x86_64-w64-mingw32-g++ --version
x86_64-w64-mingw32-g++ (GCC) 5.3.1 20160211
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

error infomation

In file included from /usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/localefwd.h:40:0,
                 from /usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/string:43,
                 from symbols.h:27,
                 from symbols.cc:20:
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/x86_64-w64-mingw32/bits/c++locale.h: In function ‘int std::__convert_from_v(int* const&, char*, int, const char*, ...’:
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/x86_64-w64-mingw32/bits/c++locale.h:74:48: error: expected primary-expression before ‘,’ token
     const int __ret = __builtin_vsnprintf(__out, __size, __fmt, __args);
                                                ^
In file included from /usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/string:44:0,
                 from symbols.h:27,
                 from symbols.cc:20:
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h: In function ‘void std::__ostream_write(std::basic_ostream<_CharT, _Traits>&, const _CharT*, std::streamsize)’:
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h:50:37: error: expected primary-expression before ‘.’ token
       const streamsize __put = __out.rdbuf()->sputn(__s, __n);
                                     ^
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h:52:7: error: expected primary-expression before ‘.’ token
  __out.setstate(__ios_base::badbit);
       ^
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h: In function ‘void std::__ostream_fill(std::basic_ostream<_CharT, _Traits>&, std::streamsize)’:
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h:62:31: error: expected primary-expression before ‘.’ token
       const _CharT __c = __out.fill();
                               ^
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h:65:50: error: expected primary-expression before ‘.’ token
    const typename _Traits::int_type __put = __out.rdbuf()->sputc(__c);
                                                  ^
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h:68:13: error: expected primary-expression before ‘.’ token
        __out.setstate(__ios_base::badbit);
             ^
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h: In function ‘std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, std::streamsize)’:
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h:87:36: error: expected primary-expression before ‘.’ token
        const streamsize __w = __out.width();
                                    ^
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h:90:32: error: expected primary-expression before ‘.’ token
     const bool __left = ((__out.flags()
                                ^
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h:94:27: error: expected primary-expression before ‘,’ token
       __ostream_fill(__out, __w - __n);
                           ^
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h:95:14: error: expected primary-expression before ‘.’ token
     if (__out.good())
              ^
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h:96:28: error: expected primary-expression before ‘,’ token
       __ostream_write(__out, __s, __n);
                            ^
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h:97:24: error: expected primary-expression before ‘.’ token
     if (__left && __out.good())
                        ^
/usr/lib/gcc/x86_64-w64-mingw32/5.3-win32/include/c++/bits/ostream_insert.h:98:27: error: expected primary-expression before ‘,’ token
       __ostream_fill(__out, __w - __n);

xinali avatar Oct 28 '19 09:10 xinali