Lazarus

Programming => General => Topic started by: Milsa on May 14, 2019, 07:56:51 pm

Title: C++ language for Lazarus
Post by: Milsa on May 14, 2019, 07:56:51 pm
Later Delphi versions allows Pascal and C++.

Is it in plan C++ language for Lazarus?
Title: Re: C++ language for Lazarus
Post by: howardpc on May 14, 2019, 08:04:25 pm
The synedit control can cope with C++, but not the rest of the IDE (CodeTools etc.)

And what cross-platform compiler would you propose Lazarus use for C++?
Title: Re: C++ language for Lazarus
Post by: Milsa on May 14, 2019, 08:36:00 pm
For example mingw.
Title: Re: C++ language for Lazarus
Post by: Bart on May 14, 2019, 10:26:18 pm
We're Lazarus/FreePascal, not Lazarus/SomeKindOfC.

Bart
Title: Re: C++ language for Lazarus
Post by: giahung1997 on May 15, 2019, 05:35:58 pm
Later Delphi versions allows Pascal and C++.

Is it in plan C++ language for Lazarus?
This is RAD Studio, included both Delphi and C++ builder.
This Lazarus only aimed to be an free and open source alternative to Delphi, not C++.
Title: Re: C++ language for Lazarus
Post by: Thaddy on May 15, 2019, 05:43:35 pm
Later Delphi versions allows Pascal and C++.

Is it in plan C++ language for Lazarus?
Lazarus is not a language. and fpc is more like P++, eons ahead...
Title: Re: C++ language for Lazarus
Post by: marcov on May 15, 2019, 07:46:47 pm
Well, if a 3rd party team would start, and get something working, in time it might be merged back. Actually with pas2js Lazarus supports already 2 "compilers".

But from within Lazarus I don't expect such initiatives.

And that means just IDE with an own written designer for C++, or adapt a C++ compiler to generate relevant RTTI.  Borland enhanced their C++ offering too to get it up to the level of Object Pascal. Specially and RTTI, enum sizes etc.

And then still the pascal code needs modifications ({$externalsym xx}, .hpp headers written for them).  All possible, but not an easy project
TinyPortal © 2005-2018