gabr42 / gabr42/OmniThreadLibrary
C++ Builder Errors in generated DSiWin32.hpp, OtlCommon.hpp, OtlSync.hpp
- Dominant language
- Pascal
- Stars
- 513
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
[Files.zip](https://github.com/gabr42/OmniThreadLibrary/files/310943/Files.zip)
After building the Packages generating all C++ Files i get a number of error messages when trying to run a program.
typedef _WKSTA_INFO_100 *PWkstaInfo100; flags as an error E2257 , expected
then i get a bunch of E2040 Declaration terminated incorrectly for things like
static const System::Int8 CSIDL_ADMINTOOLS = System::Int8(0x30);
static const System::Int8 CSIDL_ALTSTARTUP = System::Int8(0x1d);
static const System::Int8 CSIDL_APPDATA = System::Int8(0x1a);
static const System::Int8 CSIDL_CDBURN_AREA = System::Int8(0x3b);
after all those i get errors in OtlCommon.hpp
E2238 Multiple declaration for 'TOmniValue::AsArrayItem' for the following
```
__property TOmniValue AsArrayItem[const System::UnicodeString name] = {read=GetAsArrayItem, write=SetAsArrayItem};
__property TOmniValue AsArrayItem[TOmniValue param] = {read=GetAsArrayItem, write=SetAsArrayItem};
```
and E2238 Multiple declaration for 'TOmniValueContainer::Item'
```
__property TOmniValue Item[const System::UnicodeString paramName] = {read=GetItem, write=SetItem};
__property TOmniValue Item[TOmniValue param] = {read=GetItem, write=SetItem};
```
in OtlSync.hpp i get the following
E2113 Virtual function '_fastcall IOmniCriticalSection::Release()' conflicts with base class 'IUnknown'
E2113 Virtual function '_fastcall IOmniResourceCount::Release()' conflicts with base class 'IUnknown'
currently i am getting round this by commenting out the lines in the hpp files
I've asked for assistance on stackover flow see link for details [http://stackoverflow.com/questions/37775739/omnithreadlibrary-c-builder-build-issues/37777095?noredirect=1#comment63023683_37777095](url)
i'm using C++ builder seattle and the latest OmniThreadLibrary form here i've attached my edited files
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.