Subject | Re: [ib-support] gpre and VisualC++ |
---|---|
Author | Ann W. Harrison |
Post date | 2001-06-01T16:21:08Z |
At 09:04 AM 6/1/2001 -0700, Eric Boyajian wrote:
and that passed all the compilers around then. Doesn't any more.
That's in line to be fixed in firebird.
unnecessary.
Regards,
Ann
www.ibphoenix.com
We have answers.
>Couple of comments regarding gpre:Yup. At the time it was written, a char was assumed to be unsigned,
>
>1. I have found that the C code that it generates sometimes causes type
>mismatch compiler warnings in VC++. After running gpre, I run short perl
>scripts on the .c files to add the needed explicit casts.
>
>Example: ibase.h contains
> #define blr_end 255
> yet blr_end is used as an argument that is expected
> to be of type char in gpre generated code
and that passed all the compilers around then. Doesn't any more.
That's in line to be fixed in firebird.
>2. gpre generates API function calls that cannot be found in theIn their wisdom, Borland decided that documenting the whole API was
>documentation.
>Examples: isc_compile_request2
> isc_start_and_send
> isc_embed_dsql_* (about six such related functions)
unnecessary.
Regards,
Ann
www.ibphoenix.com
We have answers.