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

Comiling symbols.cc error #6

Open
xinali opened this issue Oct 28, 2019 · 0 comments
Open

Comiling symbols.cc error #6

xinali opened this issue Oct 28, 2019 · 0 comments

Comments

@xinali
Copy link

xinali commented Oct 28, 2019

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);

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

No branches or pull requests

1 participant