Created
November 15, 2018 17:06
-
-
Save stranger75/5212447842d0bacf4bd2dbfb65be6c6c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:1488:8: error: member reference type 'std::istream *' (aka 'basic_istream<char> *') is a pointer; did you mean to use '->'? | |
yyin.rdbuf(std::cin.rdbuf()); | |
~~~~^ | |
-> | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:1491:9: error: member reference type 'std::ostream *' (aka 'basic_ostream<char> *') is a pointer; did you mean to use '->'? | |
yyout.rdbuf(std::cout.rdbuf()); | |
~~~~~^ | |
-> | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2275:50: error: member reference type 'std::istream *' (aka 'basic_istream<char> *') is a pointer; did you mean to use '->'? | |
YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin.rdbuf(); | |
~~~~^ | |
-> | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2390:2: error: cannot initialize a member subobject of type 'std::istream *' (aka 'basic_istream<char> *') with an rvalue of type 'basic_streambuf<std::__1::basic_ios<char, std::__1::char_traits<char> >::char_type, std::__1::basic_ios<char, std::__1::char_traits<char> >::traits_type> *' (aka 'basic_streambuf<char, std::__1::char_traits<char> > *') | |
yyin(arg_yyin ? arg_yyin->rdbuf() : std::cin.rdbuf()), | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2391:2: error: cannot initialize a member subobject of type 'std::ostream *' (aka 'basic_ostream<char> *') with an rvalue of type 'basic_streambuf<std::__1::basic_ios<char, std::__1::char_traits<char> >::char_type, std::__1::basic_ios<char, std::__1::char_traits<char> >::traits_type> *' (aka 'basic_streambuf<char, std::__1::char_traits<char> > *') | |
yyout(arg_yyout ? arg_yyout->rdbuf() : std::cout.rdbuf()) | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2393:2: error: use of undeclared identifier 'ctor_common' | |
ctor_common(); | |
^ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2398:14: error: out-of-line definition of 'yyFlexLexer' does not match any declaration in 'yyFlexLexer' | |
yyFlexLexer::yyFlexLexer( std::istream& arg_yyin, std::ostream& arg_yyout ): | |
^~~~~~~~~~~ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:23:25: note: expanded from macro 'yyFlexLexer' | |
#define yyFlexLexer yyFlexLexer | |
^~~~~~~~~~~ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2389:27: note: type of 1st parameter of member declaration does not match definition ('std::istream *' (aka 'basic_istream<char> *') vs 'std::istream &' (aka 'basic_istream<char> &')) | |
yyFlexLexer::yyFlexLexer( std::istream* arg_yyin, std::ostream* arg_yyout ): | |
^ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2399:2: error: cannot initialize a member subobject of type 'std::istream *' (aka 'basic_istream<char> *') with an rvalue of type 'basic_streambuf<std::__1::basic_ios<char, std::__1::char_traits<char> >::char_type, std::__1::basic_ios<char, std::__1::char_traits<char> >::traits_type> *' (aka 'basic_streambuf<char, std::__1::char_traits<char> > *') | |
yyin(arg_yyin.rdbuf()), | |
^ ~~~~~~~~~~~~~~~~ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2400:2: error: cannot initialize a member subobject of type 'std::ostream *' (aka 'basic_ostream<char> *') with an rvalue of type 'basic_streambuf<std::__1::basic_ios<char, std::__1::char_traits<char> >::char_type, std::__1::basic_ios<char, std::__1::char_traits<char> >::traits_type> *' (aka 'basic_streambuf<char, std::__1::char_traits<char> > *') | |
yyout(arg_yyout.rdbuf()) | |
^ ~~~~~~~~~~~~~~~~~ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2402:2: error: use of undeclared identifier 'ctor_common' | |
ctor_common(); | |
^ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2407:19: error: out-of-line definition of 'ctor_common' does not match any declaration in 'yyFlexLexer' | |
void yyFlexLexer::ctor_common() | |
^~~~~~~~~~~ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2445:19: error: out-of-line definition of 'switch_streams' does not match any declaration in 'yyFlexLexer' | |
void yyFlexLexer::switch_streams( std::istream& new_in, std::ostream& new_out ) | |
^~~~~~~~~~~~~~ | |
frameworks/compile/mclinker/include/mcld/Script/FlexLexer.h:133:31: note: type of 1st parameter of member declaration does not match definition ('std::istream *' (aka 'basic_istream<char> *') vs 'std::istream &' (aka 'basic_istream<char> &')) | |
virtual void switch_streams(FLEX_STD istream* new_in, | |
^ | |
frameworks/compile/mclinker/include/mcld/Script/FlexLexer.h:62:18: note: expanded from macro 'FLEX_STD' | |
#define FLEX_STD std:: | |
^ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2449:41: error: no viable conversion from 'std::istream' (aka 'basic_istream<char>') to 'std::istream *' (aka 'basic_istream<char> *') | |
yy_switch_to_buffer( yy_create_buffer( new_in, YY_BUF_SIZE ) ); | |
^~~~~~ | |
frameworks/compile/mclinker/include/mcld/Script/FlexLexer.h:125:62: note: passing argument to parameter 's' here | |
struct yy_buffer_state* yy_create_buffer(FLEX_STD istream* s, int size); | |
^ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2452:7: error: member reference type 'std::ostream *' (aka 'basic_ostream<char> *') is a pointer; did you mean to use '->'? | |
yyout.rdbuf(new_out.rdbuf()); | |
~~~~~^ | |
-> | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2460:12: error: assigning to 'std::istream *' (aka 'basic_istream<char> *') from incompatible type 'std::istream **' (aka 'basic_istream<char> **'); remove & | |
new_in = &yyin; | |
^~~~~ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2464:13: error: assigning to 'std::ostream *' (aka 'basic_ostream<char> *') from incompatible type 'std::ostream **' (aka 'basic_ostream<char> **'); remove & | |
new_out = &yyout; | |
^~~~~~ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2467:17: error: no viable conversion from 'std::istream' (aka 'basic_istream<char>') to 'std::istream *' (aka 'basic_istream<char> *') | |
switch_streams(*new_in, *new_out); | |
^~~~~~~ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2457:49: note: passing argument to parameter 'new_in' here | |
void yyFlexLexer::switch_streams( std::istream* new_in, std::ostream* new_out ) | |
^ | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2476:11: error: member reference type 'std::istream *' (aka 'basic_istream<char> *') is a pointer; did you mean to use '->'? | |
if ( yyin.eof() || yyin.fail() ) | |
~~~~^ | |
-> | |
/home/user/android/cm-15.1/out/soong/.intermediates/frameworks/compile/mclinker/lib/Script/libmcldScript/android_arm64_armv8-a_cortex-a53_static_core/gen/lex/frameworks/compile/mclinker/lib/Script/ScriptScanner.cpp:2476:25: error: member reference type 'std::istream *' (aka 'basic_istream<char> *') is a pointer; did you mean to use '->'? | |
if ( yyin.eof() || yyin.fail() ) | |
~~~~^ | |
-> | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
[ 82% 80615/97665] //frameworks/compil...e/mclinker/lib/Script/ScriptParser.cpp | |
ninja: build stopped: subcommand failed. | |
22:04:46 ninja failed with: exit status 1 | |
#### failed to build some targets (02:09:43 (hh:mm:ss)) #### | |
user@user-All-Series:~/android/cm-15.1$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment