Git Product home page Git Product logo

aidl-cpp's People

Contributors

adamp avatar adetaylor avatar bdcgoogle avatar captain5050 avatar chih-hung avatar danalbert avatar danw avatar digit-android avatar enh-google avatar hiking90 avatar jackpal avatar jason-simmons avatar kruton avatar laurenttu avatar onoratoj avatar rpius avatar sadmac7000 avatar scottt avatar scotty1024 avatar tkilbourn avatar toddpoynor avatar wileyatgoogle avatar xl0 avatar yabinc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aidl-cpp's Issues

aidl-cpp-mine/base/logging.cpp:87:10: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported

I reclone the whole project , and rebuild. Before problem has gone.But comes a new one.

aidl-cpp-mine/base/logging.cpp:87:10: warning: 'syscall' is deprecated: first deprecated in
macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use
kdebug_signpost(). [-Wdeprecated-declarations]
return syscall(SYS_thread_selfid);
^
/usr/include/unistd.h:745:6: note: 'syscall' has been explicitly marked deprecated here
int syscall(int, ...);
^
1 warning generated.
[ 91%] Building CXX object CMakeFiles/aidl-cpp.dir/base/stringprintf.o
[ 95%] Building CXX object CMakeFiles/aidl-cpp.dir/base/strings.o
[100%] Linking CXX executable aidl-cpp
ld: library not found for -lbinder
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [aidl-cpp] Error 1
make[1]: *** [CMakeFiles/aidl-cpp.dir/all] Error 2
make: *** [all] Error 2

If this project don't support build on macOS 10.13.3?

error: no member named 'parser' in namespace 'yy'; did you mean 'Parser'?

When I run "make" on commandline, the error occured.The whole stack like below:

Scanning dependencies of target aidl-cpp
[ 4%] Building CXX object CMakeFiles/aidl-cpp.dir/aidl.cpp.o
[ 8%] Building CXX object CMakeFiles/aidl-cpp.dir/aidl_language.cpp.o
In file included from /path/to/aidl-cpp/aidl_language.cpp:12:
aidl_language_y.yy:8:11: error: no member named 'parser' in namespace 'yy'; did you mean 'Parser'?
int yylex(yy::parser::semantic_type *, yy::parser::location_type *, void *);
^~~~~~~~~~
Parser
/path/to/aidl-cpp/./aidl_language.h:382:7: note: 'Parser' declared here
class Parser {
^
In file included from /path/to/aidl-cpp/aidl_language.cpp:12:
aidl_language_y.yy:8:40: error: no member named 'parser' in namespace 'yy'; did you mean 'Parser'?
int yylex(yy::parser::semantic_type *, yy::parser::location_type *, void *);
^~~~~~~~~~
Parser
/path/to/aidl-cpp/./aidl_language.h:382:7: note: 'Parser' declared here
class Parser {
^
In file included from /path/to/aidl-cpp/aidl_language.cpp:12:
aidl_language_y.yy:8:23: error: no type named 'semantic_type' in 'Parser'
int yylex(yy::parser::semantic_type *, yy::parser::location_type *, void *);
~~~~~~~~~~~~^
aidl_language_y.yy:8:52: error: no type named 'location_type' in 'Parser'
int yylex(yy::parser::semantic_type *, yy::parser::location_type *, void *);
~~~~~~~~~~~~^
4 errors generated.

And the version of related tools list below:

bison v3.0.5
flex v2.6.4
cmake 3.11.2
GNU Make 3.81
Apple LLVM version 9.0.0 (clang-900.0.39.2)

Where is wrong?

ld: library not found for -lbinder

I found "-lbinder" in CMakeFiles/aidl-cpp.dir/link.txt.The whole content is:

/Library/Developer/CommandLineTools/usr/bin/c++
-std=gnu++11 -fPIC -DPIC -Wno-unused-parameter -Wno-unused-function -Wl,-search_paths_first -Wl,-headerpad_max_install_names
CMakeFiles/aidl-cpp.dir/aidl.cpp.o
CMakeFiles/aidl-cpp.dir/aidl_language.cpp.o ...... -o aidl-cpp -lbinder

but I find c++/g++ help page ,there isn't a "-l" options definition.How's this going?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.