VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12[3]45678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 21:08:17 05/22/03 Thu
Author: Michel
Subject: Re: Delphi 7 Compile Errrors
In reply to: Ricardo Andrade 's message, "Delphi 7 Compile Errrors" on 10:59:18 05/21/03 Wed


Hi,

All these warnings report practices which will be "unsafe" when targetting .net applications in future Delphi versions.

Then you seem to have a circular unit reference. If your unit name is variants, you cannot have other symbols with that name.

Note that this forum is for the Envision library, so general Delphi questions should be posted on the Borland newsgroups.

Best regards,

Michel

>Hello , when i compile my program i have this error:
>Build
> [Warning] Variants.pas(91): Unsafe type 'Pointer'
> [Warning] Variants.pas(101): Unsafe type 'Pointer'
> [Warning] Variants.pas(101): Unsafe type 'Pointer'
> [Warning] Variants.pas(102): Unsafe type 'Pointer'
> [Warning] Variants.pas(102): Unsafe type 'Pointer'
> [Warning] Variants.pas(142): Unsafe type 'Pointer'
> [Warning] Variants.pas(216): Unsafe type 'Pointer'
> [Warning] Variants.pas(243): Unsafe type 'Pointer'
> [Warning] Variants.pas(347): Unsafe type 'procedure,
>untyped pointer or untyped parameter'
> [Warning] Variants.pas(352): Unsafe type 'Pointer'
> [Warning] Variants.pas(352): Unsafe type 'Pointer'
> [Warning] Variants.pas(365): Unsafe type 'Pointer'
> [Warning] Variants.pas(365): Unsafe type 'Pointer'
> [Warning] Variants.pas(397): Unsafe type 'Pointer'
> [Warning] Variants.pas(632): Unsafe type 'Pointer'
> [Warning] Variants.pas(669): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(692): Unsafe code '@ operator'
> [Warning] Variants.pas(692): Unsafe type 'LVarData:
>Pointer'
> [Warning] Variants.pas(695): Unsafe type 'LVarData:
>Pointer'
> [Warning] Variants.pas(716): Unsafe type 'VString:
>Pointer'
> [Warning] Variants.pas(746): Unsafe code 'ASM'
> [Warning] Variants.pas(753): Unsafe type 'Pointer'
> [Warning] Variants.pas(761): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(761): Unsafe type 'Params:
>Pointer'
> [Warning] Variants.pas(771): Unsafe code '@ operator'
> [Warning] Variants.pas(785): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(785): Unsafe code '@ operator'
> [Warning] Variants.pas(785): Unsafe type 'Params:
>Pointer'
> [Warning] Variants.pas(789): Unsafe code '@ operator'
> [Warning] Variants.pas(789): Unsafe type 'Params:
>Pointer'
> [Warning] Variants.pas(814): Unsafe type 'Pointer'
> [Warning] Variants.pas(851): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(866): Unsafe code '@ operator'
> [Warning] Variants.pas(883): Unsafe code '@ operator'
> [Warning] Variants.pas(883): Unsafe type 'PFrom:
>Pointer'
> [Warning] Variants.pas(884): Unsafe code '@ operator'
> [Warning] Variants.pas(884): Unsafe type 'PTo:
>Pointer'
> [Warning] Variants.pas(887): Unsafe type 'PTo:
>Pointer'
> [Warning] Variants.pas(887): Unsafe type 'PFrom:
>Pointer'
> [Warning] Variants.pas(918): Unsafe type 'VString:
>Pointer'
> [Warning] Variants.pas(919): Unsafe type 'VString:
>Pointer'
> [Warning] Variants.pas(919): Unsafe type 'VString:
>Pointer'
> [Warning] Variants.pas(926): Unsafe type 'VAny:
>Pointer'
> [Warning] Variants.pas(926): Unsafe type 'VAny:
>Pointer'
> [Warning] Variants.pas(946): Unsafe code '@ operator'
> [Warning] Variants.pas(946): Unsafe code '@ operator'
> [Warning] Variants.pas(969): Unsafe code '@ operator'
> [Warning] Variants.pas(969): Unsafe code '@ operator'
> [Warning] Variants.pas(1000): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1000): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(1001): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1001): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(1002): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1002): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(1003): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1003): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(1004): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1004): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(1005): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1005): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(1006): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1007): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1007): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(1008): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1008): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(1009): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1009): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(1010): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1010): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(1011): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1011): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(1012): Unsafe typecast of
>'TVarData' to 'Variant'
> [Warning] Variants.pas(1012): Unsafe type 'VPointer:
>Pointer'
> [Warning] Variants.pas(1014): Unsafe type 'VPointer:
>Pointer'
> [Fatal Error] Variants.pas(1024): Program or unit
>'Variants' recursively uses itself
>
>The variants.pas i have :)
>Regards
>need help asap

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.