|
| Re: DCC32 generate wrong HPP files |
 |
Mon, 30 Jul 2007 14:54:10 -070 |
In article <46adb99a$1@newsgroups.borland.com>,
Najeeb <najeemudheen@gmail.com> wrote:
> {$EXTERNALSYM FillMode}
> FillMode = (
> FillModeAlternate, // 0
> FillModeWinding // 1
> );
> TFillMode = FillMode;
>
> ---
>
> But in the generated Hpp it still redeclared the symbol which gives me
> an error
>
> typedef FillMode TFillMode;
>
> Somebody please help me to solve this problem.
It looks like TFillMode should also be EXTERNALSYMed...
--
-David Dean
CodeGear C++ QA Engineer
|
| Post Reply
|
| DCC32 generate wrong HPP files |
 |
Mon, 30 Jul 2007 15:43:28 +053 |
Hi,
I am using Delphi'd DCC32 command line compiler with option -B -jphnv
for compiling and generating .Hpp and .Obj for c++ Builder. It compiles
and generates the files, but my real problem is the generated HPP files
are giving error.
I am using the code bellow in delphi
---
{$EXTERNALSYM FillMode}
FillMode = (
FillModeAlternate, // 0
FillModeWinding // 1
);
TFillMode = FillMode;
---
But in the generated Hpp it still redeclared the symbol which gives me
an error
typedef FillMode TFillMode;
Somebody please help me to solve this problem.
Regards,
|
| Post Reply
|
| Re: DCC32 generate wrong HPP files |
 |
Tue, 31 Jul 2007 18:03:04 +053 |
David Dean [CodeGear] wrote:
> In article <46adb99a$1@newsgroups.borland.com>,
> Najeeb <najeemudheen@gmail.com> wrote:
>
>> {$EXTERNALSYM FillMode}
>> FillMode = (
>> FillModeAlternate, // 0
>> FillModeWinding // 1
>> );
>> TFillMode = FillMode;
>>
>> ---
>>
>> But in the generated Hpp it still redeclared the symbol which gives me
>> an error
>>
>> typedef FillMode TFillMode;
>>
>> Somebody please help me to solve this problem.
>
> It looks like TFillMode should also be EXTERNALSYMed...
>
Let me check this out. i will let you know if it works
Thank you David.
---
Regards,
Mohammed Najeemudheen
|
| Post Reply
|
|
|
|
|
|
|
|
|
|