Giter Club home page Giter Club logo

xc16plusplus's People

Contributors

fabio-d avatar nanodario avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xc16plusplus's Issues

use option -std=c99 or -std=gnu99 to compile your code

I installed MPLAB X IDE 4.2 and XC16 1.35 in my windows PC. On writting a for loop the console showing the following error.

newmain.c:34:5: error: 'for' loop initial declarations are only allowed in C99 mode
newmain.c:34:5: note: use option -std=c99 or -std=gnu99 to compile your code
make[2]: *** [build/default/production/newmain.o] Error 255
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

How to solve this.?

The build on MPLAB X IDE does not start

I have a problem.
In the project I use PIC24, I have a lot of source codes written in C++. I know that XC16 does not support cpp, but I found your revision.
I did everything according to the instructions, the create_xc16plusplus_symlinks.cmd script worked without errors. But the problem is that when I add a file with the cpp extension to the MPLAB X IDE project (5.45 windows) then clicking on the BUILD button does not lead to anything. It's like I'm not pressing the button.
If you remove the file with the extension. cpp, then the build is started and everything is compiled .
I think the problem is in the settings of the MPLAB X IDE for XC16.
Because in another project on XC32 everything works.
I ask for your help.
Thank you in advance.

Compile error when using "xc16plusplus_only.sh linux"

I am trying to run "xc16plusplus_only.sh linux" on a Debian Stretch system, and it fails on compiler detection:

checking compiler i386-linux-gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no
checking compiler i386-linux-gcc -O2 -pedantic -fomit-frame-pointer ... no
checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no
checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... yes
checking compiler gcc -O2 -pedantic -fomit-frame-pointer has sizeof(long)==4... no
checking compiler i386-linux-icc -no-gcc ... no
checking compiler icc -no-gcc ... no
checking compiler i386-linux-cc -O ... no
checking whether cc is gcc... yes
checking compiler cc -m32 -O2 -pedantic -fomit-frame-pointer ... no
checking compiler cc -O2 -pedantic -fomit-frame-pointer ... yes
checking compiler cc -O2 -pedantic -fomit-frame-pointer has sizeof(long)==4... no
configure: error: could not find a working compiler, see config.log for details

I've included the config logs. Any ideas?

config.log
config.log

BTW, I work for AlephObjects and we pride ourselves in using only openly licensed products. Thank you for your work in making a open alternative to the PIC compiler!

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.