Recent

Author Topic: C++ language for Lazarus  (Read 3238 times)

Milsa

  • Sr. Member
  • ****
  • Posts: 309
C++ language for Lazarus
« on: May 14, 2019, 07:56:51 pm »
Later Delphi versions allows Pascal and C++.

Is it in plan C++ language for Lazarus?
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: C++ language for Lazarus
« Reply #1 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++?

Milsa

  • Sr. Member
  • ****
  • Posts: 309
Re: C++ language for Lazarus
« Reply #2 on: May 14, 2019, 08:36:00 pm »
For example mingw.
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

Bart

  • Hero Member
  • *****
  • Posts: 5289
    • Bart en Mariska's Webstek
Re: C++ language for Lazarus
« Reply #3 on: May 14, 2019, 10:26:18 pm »
We're Lazarus/FreePascal, not Lazarus/SomeKindOfC.

Bart

giahung1997

  • Full Member
  • ***
  • Posts: 113
Re: C++ language for Lazarus
« Reply #4 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++.

Thaddy

  • Hero Member
  • *****
  • Posts: 14367
  • Sensorship about opinions does not belong here.
Re: C++ language for Lazarus
« Reply #5 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...
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11447
  • FPC developer.
Re: C++ language for Lazarus
« Reply #6 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