Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
lambda functions with classic 32 bit Borland compiler ?
#3
(08-18-2019, 05:51 PM)JuergenS Wrote: Hi,

the Intraweb Application Wizard creates by default a C++ project for the classic 32 bit Borland compiler,
but now the default compiler for Embarcadero RAD Studio 10.3.2 32 AND 64 bit  is CLANG.

The classic 32 bit Borland compiler does not provide C++11 lamda function support,
therefore gsession functions like Excecute() and LookUp() probably can not be used with this compiler.

Turning off the classic 32 bit compiler creates an error message in IWInit.hpp

namespace Iwinit
{
  extern Iwapplication::TIWApplication* __thread WebApplication;
}

Regards
JuergenS

You don't need to use lambdas (anonymous functions). This is *another* option.

You can pass a method pointer as you do with normal callbacks and it should work exactly the same. Have you tried?
Reply


Messages In This Thread
RE: lambda functions with classic 32 bit Borland compiler ? - by Alexandre Machado - 08-18-2019, 09:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)