Code Monkey home page Code Monkey logo

aapt2's Introduction

Hi there ๐Ÿ‘‹

I'm Rohit, from ๐Ÿ‡ฎ๐Ÿ‡ณIndia

aapt2's People

Contributors

rohitverma882 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aapt2's Issues

Compilation issue

Hi there. I'm trying to compile this on Ubuntu, but I'm having some issues with compiling.

I installed the x86_64 Android NDK,
set ARCH in CMakeLists.txt to x86-64,

set(ARCH "x86-64")

set NDK_TOOLCHAIN in build.sh

NDK_TOOLCHAIN=$HOME/AndroidSDK/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64

and ran the build script.
Everything goes well, but then I get these errors:

In file included from $HOME/build-tools-android/src/aidl/aidl_language_l.ll:24:
$HOME/build-tools-android/src/aidl/aidl_language_y.yy:36:13: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing]
    .line = begin.begin.line,
            ^~~~~~~~~~~~~~~~
$HOME/build-tools-android/src/aidl/aidl_language_y.yy:36:13: note: insert an explicit cast to silence this issue
    .line = begin.begin.line,
            ^~~~~~~~~~~~~~~~
            static_cast<int>( )
$HOME/build-tools-android/src/aidl/aidl_language_y.yy:37:15: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing]
    .column = begin.begin.column,
              ^~~~~~~~~~~~~~~~~~
$HOME/build-tools-android/src/aidl/aidl_language_y.yy:37:15: note: insert an explicit cast to silence this issue
    .column = begin.begin.column,
              ^~~~~~~~~~~~~~~~~~
              static_cast<int>( )
3 warnings and 2 errors generated.

If I do what the note: says, I get the same error in aidl_language_l.ll instead.
This doesn't seem right, so hence I'm reporting this here.

Do you have a fix for this, or did you not have this issue?

Add a license

Would be nice if other projects could make use of this!

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.