Hi Joost,
try attached patch. For me it works as expected.
-Laco.
Maybe someone else can.
If not, I think we should rewrite the whole function.
Joost.
--- fmtbcd.pp.ori Mon Jun 20 07:10:16 2011
+++ fmtbcd.pp Mon Jun 20 07:51:26 2011
@@ -2205,8 +2205,6 @@ writeln;
bh1
Skybuck Flying schrieb:
There is no configuration, or any configuration options.
When View->Config is shown it shows nothing except "File: " and then
more nothingness.
The configuration resides in the project file (and #include files), via
#pragma directives for e.g. the search path. Please
Skybuck Flying schrieb:
So now I am wondering if it's safe to convert:
void test( void *data )
to
procedure test( var data );
AFAIR this can cause problems, when the C code tests "data" for NULL.
I don't want no strange stack problems or access violations or anything
like that, so I h
On Sun, Jun 19, 2011 at 1:15 AM, Skybuck Flying wrote:
> Here is a new language idea which would make Delphi a bit more friendly:
Do the Embarcadero developers read this list?
> First the problem:
>
> pointers and longwords are not assignment compatible.
>
> This is pretty much bullshit because
Hello,
Here is a new language idea which would make Delphi a bit more friendly:
First the problem:
pointers and longwords are not assignment compatible.
This is pretty much bullshit because they are the same size.
Now the solution, create a new type which has the same size and make it
"size c
I had to convert "void test( void *data)" to Delphi/Pascal.
My first conversion was:
procedure test( data : pointer );
The documentation of the test function seems to indicate that this function
returns all kinds of pointers, so it's like a call by reference call.
So I am starting to wonder if
There is no configuration, or any configuration options.
When View->Config is shown it shows nothing except "File: " and then more
nothingness.
Bye,
Skybuck.
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mail