Giter VIP home page Giter VIP logo

Comments (5)

rcmaniac25 avatar rcmaniac25 commented on August 22, 2024

Do note that 10.3.1 removes GCC 4.8.2 and replaces it with GCC 4.8.3

from vs-plugin.

phofman avatar phofman commented on August 22, 2024

True, thanks. I am experimenting with custom task that detects the latest version available vs enum/string project property, that will let override the default compiler.

from vs-plugin.

phofman avatar phofman commented on August 22, 2024

OK. Basic support for compiler selection has been added on develop. Mostly all is tuned automatically, when g++ is activated. Only for VS2010 include paths should be corrected manually to compile without errors. Maybe this could be fixed in future releases.

Any help in testing the solution and comments about hard-to-use are welcome. For now - simply open project 'General' settings page and change the compiler override (Platform Compiler Version/Name). That should force usage of a different target compiler via qcc.

It could be seen in build logs as follows (for 4.8.2 and g++ for C++11):

1>  qcc -V4.8.2,gcc_ntoarmv7le_gpp -Wc,-std=c++11 -o main.o main.c -c -Wp,-MMD,main.d -Wp,-MT,main.o -lang-c++

Requirements: BB NDK 10.3 installed
Supported project type: 'Regular' only (Cascades builds are not supported)
Notes: lang-c++ is enforced for all source files by default

from vs-plugin.

rcmaniac25 avatar rcmaniac25 commented on August 22, 2024

Here's something that may simplify your life:
If you specify GCC 4.8.3 in API 10.3.0, it will say something like "4.8.3 is not available, using 4.8.2".

But then again, it's another API specific check.

from vs-plugin.

phofman avatar phofman commented on August 22, 2024

Thanks, this shouldn't affect the extension in its current state. Mentioned dynamic property in project settings looks into active NDK and suggests from compiler versions found directly there. It will nicely handle existing and future BB NDKs without any efforts. And if the qcc has a fallback mechanism, that's even better.

from vs-plugin.

Related Issues (20)

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.