C++ for the PCU

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-net-gprs@lists.osmocom.org/.

Ivan Kluchnikov Ivan.Kluchnikov at fairwaves.ru
Tue Jul 30 07:42:29 UTC 2013


Hi Holger and Andreas,

I agree with Andreas, actually most of the code is c, not c++, so I think
that the right solution is to get rid of с++ completely.
Andreas, if you have patches for that and time, I believe that it make
sense to create new branch with these patches.
After that I can try to turn dissecting part from c++ to c.
What do you think about it?


2013/7/29 Andreas Eversberg <andreas at eversberg.eu>

> Holger Hans Peter Freyther wrote:
> > From my point
> > of view we are taking the hit of g++ without really using any of the
> > features that C++ vould provide (e.g. no stack variables with automatic
> > cleanup..).
> >
> hi holger,
>
> i have some old patches somewhere that turn everything from c++ to c,
> except the dissecting part, which stays c++, iirc. i never finished
> them, because there was someone doing a similar work, so i didn't want
> to do double work. in my opinion it makes sense to change it, since we
> don't (and won't) use any c++ features at our code.
>
> > I think we should find a more nice solution to extern "C".
> that would be my solution. if you like, i could dig these patches out.
>
> regards,
>
> andreas
>
>
>
>
>


-- 
Regards,
Ivan Kluchnikov.
http://fairwaves.ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/osmocom-net-gprs/attachments/20130730/c30f4c0c/attachment.htm>


More information about the osmocom-net-gprs mailing list