Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Error when compiling c++ sources with ver4 for BDS
Fri, May 19 2006 9:50 AMPermanent Link

"Irina Kudryashova"
Hello, All!

Maybe this question had already been asked here, but nevertheless, here is
the problem:
when I try to compile c++ sources with BDS2006 after update 2 i get

[C++ Error] Dbisamen.hpp(323): E2091 Functions cannot return arrays or
functions

the line #323 of  Dbisamen.hpp is
Dbisamcn::TLocaleCharMap __fastcall GetLocaleCharMap(int LocaleID);

Dbisamcn.hpp
typedef char TLocaleCharMap[256];

Before compilling dbisam with update 2 line #323 looks like
char  __fastcall GetLocaleCharMap(int LocaleID);
So everything was fine.

So, is there any way to get rid of this compiler error, besides manually
editing of hpp?

Thanks!
 Irina

Fri, May 19 2006 6:04 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Irina,

<< Maybe this question had already been asked here, but nevertheless, here
is the problem:

when I try to compile c++ sources with BDS2006 after update 2 i get

[C++ Error] Dbisamen.hpp(323): E2091 Functions cannot return arrays or
functions

the line #323 of  Dbisamen.hpp is
Dbisamcn::TLocaleCharMap __fastcall GetLocaleCharMap(int LocaleID);

Dbisamcn.hpp
typedef char TLocaleCharMap[256];

Before compilling dbisam with update 2 line #323 looks like
char  __fastcall GetLocaleCharMap(int LocaleID);
So everything was fine.

So, is there any way to get rid of this compiler error, besides manually
editing of hpp? >>

Are you not using our provided dbisamen.hpp header ?  We compile using the
non-patched version, so the .hpp should still have:

char __fastcall GetLocaleCharMap(int LocaleID);

in it.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, May 21 2007 10:28 AMPermanent Link

Jef Verheyden
Having the same problem in here in bds 2006,
the hpp is 100% sure extracted from the provided setup.
Version 4.25 build 4

Greetings,
Jef Verheyden



"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote:

Irina,

<< Maybe this question had already been asked here, but nevertheless, here
is the problem:

when I try to compile c++ sources with BDS2006 after update 2 i get

[C++ Error] Dbisamen.hpp(323): E2091 Functions cannot return arrays or
functions

the line #323 of  Dbisamen.hpp is
Dbisamcn::TLocaleCharMap __fastcall GetLocaleCharMap(int LocaleID);

Dbisamcn.hpp
typedef char TLocaleCharMap[256];

Before compilling dbisam with update 2 line #323 looks like
char  __fastcall GetLocaleCharMap(int LocaleID);
So everything was fine.

So, is there any way to get rid of this compiler error, besides manually
editing of hpp? >>

Are you not using our provided dbisamen.hpp header ?  We compile using the
non-patched version, so the .hpp should still have:

char __fastcall GetLocaleCharMap(int LocaleID);

in it.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, May 22 2007 8:32 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jef,

<< Having the same problem in here in bds 2006, the hpp is 100% sure
extracted from the provided setup. Version 4.25 build 4 >>

Unfortunately we're now doing the builds with BDS 2006, so you may have to
manually edit the hpp accordingly.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image