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
Location: Luleå, Sweden
Has thanked: 5 times
Been thanked: 6 times
Contact:

Re: C++ wrappers

Postby Korken » Tue Oct 24, 2017 6:16 am

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

Postby gclarkii » Thu Nov 16, 2017 1:07 am

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
Location: Luleå, Sweden
Has thanked: 5 times
Been thanked: 6 times
Contact:

Re: C++ wrappers

Postby Korken » Sun Dec 03, 2017 11:09 am

Bumpeli bump :)
How is it coming along Giovanni?

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: C++ wrappers

Postby Giovanni » Sun Dec 03, 2017 12:49 pm

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
Location: Luleå, Sweden
Has thanked: 5 times
Been thanked: 6 times
Contact:

Re: C++ wrappers

Postby Korken » Sun Dec 03, 2017 1:01 pm

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: C++ wrappers

Postby Giovanni » Sun Dec 03, 2017 2:50 pm

Just post the files, thanks.

Giovanni

User avatar
Korken
Posts: 270
Joined: Wed Apr 02, 2014 4:09 pm
Location: Luleå, Sweden
Has thanked: 5 times
Been thanked: 6 times
Contact:

Re: C++ wrappers

Postby Korken » Mon Dec 04, 2017 9:51 pm

Here is the original patch together with the fixes to syscalls.
Attachments
syscalls_cpp.cpp.zip
(443 Bytes) Downloaded 240 times
cpp-wrapper-patch-20160729.zip
(21.15 KiB) Downloaded 241 times

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

Re: C++ wrappers

Postby gclarkii » Thu Dec 14, 2017 1:53 pm

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: C++ wrappers

Postby Giovanni » Thu Dec 14, 2017 1:55 pm

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

Postby gclarkii » Thu Dec 14, 2017 2:12 pm

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


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 22 guests