Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Error BDS 2006 compiler
Tue, Apr 10 2007 6:20 AMPermanent Link

"newsgroups.borland.com"
DBISAM 4.25 build 4
Borland Developer Studio 2006 C++

Error E2091 Functions cannot return arrays of functions on  Dbisamen.hpp

Dbisamcn::TLocaleCharMap __fastcall GetLocaleCharMap(int LocaleID);  <----

????

DBISAM 4.25 build 3
No error.

Thanks
Ignazio

Tue, Apr 10 2007 8:41 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ignazio,

<< Error E2091 Functions cannot return arrays of functions on  Dbisamen.hpp

Dbisamcn::TLocaleCharMap __fastcall GetLocaleCharMap(int LocaleID);  <----  
>>

That function isn't returning an array of functions, it's returning an array
of AnsiChars:

typedef char TLocaleCharMap[256];

Furthermore, that function in dbisamen.hpp hasn't changed in many, many
builds.  In fact, it has probably been that way since 4.0.

So, my answer is - I have no idea why it is complaining about that function
all of a sudden.  It certainly compiles it just fine when we're doing the
builds.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image