]: *** [compiler_cycle] Error 2
make: *** [build-stamp.i386-darwin] Error 2
=
Using both 2.6.2 or 2.6.4 as the starting compiler. Rev 29084 is nice.
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin
On Fri, Mar 2, 2012 at 8:37 PM, Michael Van Canneyt
mich...@freepascal.org wrote:
On Fri, 2 Mar 2012, Joao Morais wrote:
Hello Michael, plans to implement the patch? Perhaps you prefer
against trunk, including all webhandlers, registering a mantis, ...
My apologies, I totally forgot about
On Sun, Feb 5, 2012 at 17:41, Joao Morais jcmorai...@gmail.com wrote:
On Sun, Feb 5, 2012 at 18:11, Michael Van Canneyt
mich...@freepascal.org wrote:
for instance in src/base/custfcgi.pp I would add
function CreateRequest: TFCGIRequest; virtual;
function CreateResponse(ARequest
to see in the fcl-web is
described below. Is it possible to implement? Perhaps 2.6 branch?
Joao Morais
1. New virtual methods used to create requests and responses:
--- src/base/custweb.pp (revision 20261)
+++ src/base/custweb.pp (workcopy)
@@ -108,6 +108,8 @@
Procedure SetBaseURL(AModule
.
... and the interface section of an unit need to be parsed before used
by another one?
Regards,
- Graeme -
--
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Anton Kavalenka wrote:
I only have a dream - controllable way of string assignment without any
magic like implicit call of _LStrAddRefCnt
Do you have a real-world sample of usage, ie, where or when the object
pascal way is a problem?
Joao Morais
.
I'd say 'another use for refcounted interfaces'.
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
in bar.pp
Yes. Friend classes.
- But what about inherited members? Should TSomething be able to access
ThatValue?
Yes, if the object pointer is declared as TThatFake or you cast the
pointer to TThatFake. Otherwise no, only public members of TThat would
be visible.
Joao Morais
, the first and the second x are the
same entity.
I think what you need is a new feature. If the statement before the +=
token is a property, instead of a variable, the compiler converts it
into one getter and one setter, and after that use them to perform the
calculation.
--
Joao Morais
sample. They don't deserve such comment.
--
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Joao Morais wrote:
Michael Van Canneyt wrote:
A patch is welcome.
Here it is.
This patch fixes a misbehaviour when space is left in front of the date
or time, as well as call StrToTime if only a time is provided.
Remember.
Joao Morais
Index: rtl/objpas/sysutils/dati.inc
Hello,
Performing some tests with date and time routines I discovered that
StrToDateTime doesn't work if I only use time. This was designed that
way or a patch is welcome?
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http
Michael Van Canneyt wrote:
On Thu, 29 May 2008, Joao Morais wrote:
Hello,
Performing some tests with date and time routines I discovered that
StrToDateTime doesn't work if I only use time. This was designed that way or a
patch is welcome?
A patch is welcome.
Here it is.
This patch fixes
)
and get it from the compiler directory (the directory with ppc386.exe).
You can also checkout
http://svn.freepascal.org/svn/fpcbuild/trunk/install/binw32
--
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http
any help referencing these issues The help topics on
interfaces and $Interfaces styles are very vague.
Not vague, they was straight to the point imo.
--
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http
(AObject, PropName));
if lSearch = lbool then
writeln('Comparison was a success');
end;
Sounds familiar. Here I have:
if UsePublishedGetter then
Result := Boolean(GetOrdProp(Owner, Metadata.Name))
else
Result := Value;
--
Joao Morais
method; constructors will
call it for sure. You can also override the AfterConstruction method.
--
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
introduced in D7)
Yup. D7 introduced the Delphi Language and killed Object Pascal, perhaps
because of the .net stuff.
--
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Micha Nelissen wrote:
Joao Morais wrote:
The compiler warns that the result wasn't assigned, but that function's
result simply cannot be reached.
Why not make it a procedure ?
Because it is an abstract method.
--
Joao Morais
___
fpc-devel
Florian Klaempfl wrote:
Joao Morais schrieb:
The compiler warns that the result wasn't assigned, but that function's
result simply cannot be reached.
Fixed in trunk when compiled with -Oodfa which will be probably a
default in 2.4.0.
Thanks. Now a note:
{$mode objfpc}
var
vobj: tclass
Joao Morais wrote:
Remove the comment and the note is also removed.
sed 's/^Remove.*//'
--
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
Michael Van Canneyt wrote:
On Sun, 15 Jul 2007, Joao Morais wrote:
Hello,
It's possible include the following declaration:
function GetConnectionDef(ConnectorName: string): TConnectionDef;
in the interface section of the sqldb unit and merge to 2.2?
Moving it to interface
Hello,
It's possible include the following declaration:
function GetConnectionDef(ConnectorName: string): TConnectionDef;
in the interface section of the sqldb unit and merge to 2.2?
Thanks.
--
Joao Morais
___
fpc-devel maillist - fpc-devel
correct.
--
Joao Morais
Here is the application output:
---
$ ./project1
Time:00.001 N:7 E:0 F:1 I:0
TTestFormatFloat Time:00.001 N:7 E:0 F:1 I:0
00.000 Test1
00.000 Test2
00.000 Test3
00.000 Test4 Failed: Failed on 4 expected: $ 0.01
to $D792 do
YourValue := I * $1;
Otherwise, if I didn't get what you mean, perhaps you can use some
boolean arithmetic.
--
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
svn.
HTH
--
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
for I := 1 to Length (Pa) do
if Pa [I] = '\' then
Pa [I] := DirectorySeparator;
end;
Thanks,
--
Joao Morais
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo
27 matches
Mail list logo