Recent

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

Milsa

  • Full Member
  • ***
  • Posts: 187
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?

howardpc

  • Hero Member
  • *****
  • Posts: 2989
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

  • Full Member
  • ***
  • Posts: 187
Re: C++ language for Lazarus
« Reply #2 on: May 14, 2019, 08:36:00 pm »
For example mingw.

Bart

  • Hero Member
  • *****
  • Posts: 3428
    • 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

  • Jr. Member
  • **
  • Posts: 90
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: 7893
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...
Hamlet 1.4 (nothing wrong with the Danish, btw)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7007
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