I am using Lazarus for creating command line Free Pascal programs.
I did not realize what hapend but while compiling the free pascal program I get
the following:
ld: symbol(s) not found for architecture i386
ld: warning: -macosx_version_min not specified, assuming 10.7
Undefined symbols for archi
Mattias Gaertner kirjoitti lauantai, 21. toukokuuta 2011 12:29:34:
> "Juha (gmail)" wrote:
> > Yes. Based on forum posts updating causes more problems, also when
> > updating between releases, not only when compiling from svn sources.
>
> What problems?
> Ple
Rainer Stratmann kirjoitti lauantai, 21. toukokuuta 2011 11:32:46:
> Easy installation and handling is always very important.
> Otherwise it can become boring very fast, even if one is a technical
> specialist.
>
> Huge downloads are easy to handle these days.
True. Most people have fast internet
Mattias Gaertner kirjoitti lauantai, 21. toukokuuta 2011 10:47:44:
> > A typical one is:
> > can't find unit xxx needed by unit yyy.
>
> There are more than 20 reasons for this. I started a page for this.
> Feel free to improve the page.
> http://wiki.lazarus.freepascal.org/Unit_not_found_-_How_
Mattias Gaertner kirjoitti perjantai, 20. toukokuuta 2011 15:16:30:
> "Juha (gmail)" hat am 20. Mai 2011 um 13:07
> > Installing and updating both FPC and Lazarus is still a major obstacle
> > for many people. We must improve things to make the first impression
> &
Jonas Maebe kirjoitti perjantai, 20. toukokuuta 2011 13:52:22:
> If you want the source, choose "Source" instead of "Win32".
Ok, right too many links.
Now i realized that all the mirrors give direct links to source packages, only
the first SourceForge link has everything included.
The source
Jonas Maebe kirjoitti tiistai, 10. toukokuuta 2011 01:16:38:
> On 10 May 2011, at 00:14, Juha (gmail) wrote:
> > Maybe I am stupid but I don't know how to download FPC 2.4.2 sources,
> > without using SVN repository.
>
> http://www.freepascal.org/download.var -> S
Hi
Maybe I am stupid but I don't know how to download FPC 2.4.2 sources, without
using SVN repository.
I am testing on Windows and the default installation package does not contain
sources.
Juha
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.
my e-mail client (KMail) configured for GMail IMAP, and I also
see it in GMail web-interface.
Today the message was even replied by Patspiper.
Somehow the DNS problem affected only some people.
Juha
___
fpc-pascal maillist - fpc-pascal@l
Luca Olivetti kirjoitti tiistai, 12. huhtikuuta 2011 10:20:04:
> Sorry for the off-topic, but I sent a message yesterday to the lazarus
> mailing list and it hasn't appeared.
> In fact there aren't new messages since last Sunday.
> Does anybody know if is there a problem with the lazarus list serve
Zaher Dirkey kirjoitti keskiviikko, 6. huhtikuuta 2011 19:37:04:
> Can i do that?
> type
> IIntf3 = interface(IIntf11, IIntf2)
>
> end;
No but you can do:
type
MyClass = class(IIntf11, IIntf2)
end;
Juha
___
fpc-pascal maillist - f
On Tuesday 19 October 2010 19:10:39 Luiz Americo Pereira Camara wrote:
> Yes it's ready in fpc 240:
>
> uses
> Fgl;
>
> type
> TIntegerList = specialize TFPGList ;
Well, yes. It is almost as good as a dedicated class. It has a Sort method but
you must feed the compare function for it.
It do
Hi
In Lazarus project jcf2 component has an IntList class which is poorly
implemented. It depends on integer and pointer being the same size.
I will later suggest to replace it.
I have a better IntList. See:
http://github.com/JuhaManninen/Pascal/blob/master/IntList/intlist.pas
It is similar t
On Sunday 17 October 2010 15:01:37 Paul Ishenin wrote:
> Try the same but replace io type to IUnknown.
Thanks Marco and Paul. I should have known this one.
Regards,
Juha
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal
Hi
I have a program that creates a TInterfacedObject and nothing else.
program project1;
{$mode objfpc}{$H+}
uses
Classes;
var
io: TInterfacedObject;
begin
io := TInterfacedObject.Create;
end.
I compile it with -gh (heap trace) and get the following output:
[DBGTGT] Heap dump by hea
On Sunday 03 October 2010 23:20:05 Juha Manninen (gmail) wrote:
> Anyway this is a good example of a valid Lazarus patch that is ignored,
> again. :-(
Ok, sorry Lazarus guys, I must take this one back.
The valid patch was uploaded only today so it was not really ignored.
Now there are 2
On Sunday 03 October 2010 19:48:22 C Western wrote:
> >> Please report the bug. Yes the result is integer and in 64 bits, this
> >> looks like a problem.
> >
> > I think this is an issue I reported back in March, though I can now see
> > I uploaded the wrong patch for it
>
> Sorry - meant to add:
On Saturday 02 October 2010 17:47:27 José Mejuto wrote:
> The assembly window in Lazarus is shown when no backtrace line is
> available to point the cursor in, so open callstack "View -> Debug ->
> Callstack" and you will see that there is no available backtrace,
> maybe except the fpc sources with
On Saturday 02 October 2010 16:45:51 Jonas Maebe wrote:
> > Forgot to tell, I compiled with "-gw -gh".
> > "-gw" should be as good as "-gl".
>
> It has nothing to do with being "as good as", they do different things
> (just like "-gw" and "-gh" do different things).
I have used only -gw and debug
On Saturday 02 October 2010 16:22:02 Honza wrote:
> I just tried and can confirm that a LCL app running inside Lazarus
> (r27491), having turned on range checks is able to perfectly catch and
> show the place of an range check error (Ubuntu 10.04/AMD64). What I've
> not tried, but suggest to try, i
On Saturday 02 October 2010 12:21:20 Jonas Maebe wrote:
> Compile with -gl, or set a breakpoint on FPC_RANGEERROR
Forgot to tell, I compiled with "-gw -gh".
"-gw" should be as good as "-gl".
Now I tried with -gl but no luck. I get an Assembly window:
http://koti.phnet.fi/juhamann/Lazarus/Assembl
Hi
I asked this on Lazarus list but it belongs better here.
So, how to get to the source line that gives a range check error?
I built the whole Lazarus with -Cr and debug it. When the range error happens,
it only shows a RunError or similar and doesn't show me the faulty source
line.
When closi
On Friday 01 October 2010 19:33:48 Mark Daems wrote:
> ...
> And it's a weird behaviour, because it's all within an {$IFDEF FPC}
> construct. Why does delphi even try to interprete it?
>
> Somebody knows how to avoid the problem?
Try this instead:
{$IFNDEF FPC}
// Can be empty
{$ELSE}
...
{$
Hi
Maybe someone here knows...
I built Lazarus with "-gh", started it and closed without doing anything
else.
---
Heap dump by heaptrc unit
717866 memory blocks allocated : 81646458/83984784
717866 memory blocks freed : 81646458/83984784
0 unfreed memory blocks : 0
True heap size : 851968
T
A new Lazarus review :
http://delphimax.wordpress.com/2010/09/13/freepascal-and-lazarus-success-or-
failure/
has this comment about Lazarus source:
---
Abundant use of the Exit() command instead of nesting code in If/then/else. It
has been proven (last time in Delphi Informant Magazine) that allo
On Thursday 02 September 2010 00:47:23 José Mejuto wrote:
> You must know at which node a new node must be inserted...
If your input data contains a string which always identifies the parent node
then you can map the string -> "parent node" and find it later for adding a
child node.
Pseudo code
On Sunday 22 August 2010 17:34:55 Andreas Schneider wrote:
> uses fgl;
>
> type
> TIntMap = specialize TFPGMap; //Maps Int --> Int
I compared the performance of this generics map to a simple integer list.
The map was much slower and it also ate huge amouts of memory, > 1.5 GB.
Strange. My data
On Sunday 22 August 2010 18:51:21 Andreas Schneider wrote:
> Afaik, inserting items into a sorted List is done via InsertSort, which is
> the fastest way (O(n))to go (IMHO), so you do /not/ have to resort the
> list.
True. I could optimize the current implementation a little. Now I insert and
the
On Sunday 22 August 2010 18:45:04 Jeppe Johansen wrote:
> I don't think the name map is misleading. It does exactly what a map
> does. It maps a type Key to another type Value. A list maps an
> integer(index) to a type Value The search is of course based on a list.
> Hash tables, as far as I know,
On Sunday 22 August 2010 17:34:55 Andreas Schneider wrote:
> uses fgl;
>
> type
> TIntMap = specialize TFPGMap; //Maps Int --> Int
Thanks. I tried that. However the class name, TFPGMap, turned out to be
misleading. It inherits from TFPSMap which inherits from TFPSList, which is a
list, not a
Hi
Is there an implementation of a hash map where the keys are integers. It is
needed when the integers are too big for a lookup array.
I only need check the existence of keys so the data type is not important.
About like this:
var
Len: integer;
SeenLen: TIntMap; // or whatever the type is c
On Saturday 14 August 2010 20:04:33 Marcos Douglas wrote:
> 3- Do exists something I can do with Delphi but not do with FPC?
> Especialy on Windows.
...
> 7- Is there any other factors we should consider before making this
> migration, which was not written above?
1. Are you targeting for Windows-
> > - Can someone provide the grammar how an identifier looks like in
Delphi?
> > - How shall the compiler detect that "a.b" is an unit if a is also
defined
> as a record that
> > doesn't contain a field b?
> > - How shall the compiler handle if "a.b.c" is an unit and a.b.c is
class?
> >
> > So p
-Mensagem original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Em nome de Marco van de
Voort
Enviada em: sexta-feira, 18 de janeiro de 2008 06:05
Para: FPC-Pascal users discussions
Assunto: Re: [fpc-pascal] dot within unit file name
> - Can someone provide the grammar how an identif
34 matches
Mail list logo