C++ wrappers

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
Korken
Posts: 270
Joined: Wed Apr 02, 2014 4:09 pm
Has thanked: 5 times
Been thanked: 6 times

Re: C++ wrappers

Post by Korken »

Bump on the C++ wrappers
gclarkii
Posts: 24
Joined: Wed Mar 01, 2017 7:38 pm
Has thanked: 1 time
Been thanked: 2 times

Re: C++ wrappers

Post by gclarkii »

Hello,

I've not worked on my code in a couple of weeks, but so far everything just works. I'm not using anything real fancy, so...

namespaces, objects, exceptions, templates, virtual classes, etc... All working and except for exceptions, none of it has little to no implications for run time. Yes, even virtual classes do not seem to hit the system.

GB
User avatar
Korken
Posts: 270
Joined: Wed Apr 02, 2014 4:09 pm
Has thanked: 5 times
Been thanked: 6 times

Re: C++ wrappers

Post by Korken »

Bumpeli bump :)
How is it coming along Giovanni?
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: C++ wrappers

Post by Giovanni »

Trunk changed, patches do not work, could you post the wrapper simply zipped?

Giovanni
User avatar
Korken
Posts: 270
Joined: Wed Apr 02, 2014 4:09 pm
Has thanked: 5 times
Been thanked: 6 times

Re: C++ wrappers

Post by Korken »

Do you want me to remake the patch based on trunk?
What is not working?

Else just roll back until the patch works with Git and do an recursive merge forward.
It will probably fix itself then.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: C++ wrappers

Post by Giovanni »

Just post the files, thanks.

Giovanni
User avatar
Korken
Posts: 270
Joined: Wed Apr 02, 2014 4:09 pm
Has thanked: 5 times
Been thanked: 6 times

Re: C++ wrappers

Post by Korken »

Here is the original patch together with the fixes to syscalls.
Attachments
syscalls_cpp.cpp.zip
(443 Bytes) Downloaded 528 times
cpp-wrapper-patch-20160729.zip
(21.15 KiB) Downloaded 505 times
gclarkii
Posts: 24
Joined: Wed Mar 01, 2017 7:38 pm
Has thanked: 1 time
Been thanked: 2 times

Re: C++ wrappers

Post by gclarkii »

Hello,

Got a question, is there a GOOD reason for the C++ Wrapper to be in the mainline area? If it went to Contrib it could be updated much easier with out putting the load on Giovanni.

GB
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: C++ wrappers

Post by Giovanni »

If you want you could put in community but I do plan to review it.

Giovanni
gclarkii
Posts: 24
Joined: Wed Mar 01, 2017 7:38 pm
Has thanked: 1 time
Been thanked: 2 times

Re: C++ wrappers

Post by gclarkii »

Hi Giovanni,

I just thought that in Contrib it could be updated much faster; Korken's patch back in July of 2016 worked quite well, but was never applied.
You've said yourself that your not really into C++ whereas between Korken, myself, etc there people that would by choice use C++.

GB
Post Reply