Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-06

\lazarus\ide\sourceeditor.pp(9095, 28) Error: Wrong number of parameters specified for call to "Add"

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marcos Douglas

Hi,
I'm using:
- WinXP
- FPC 2.4.1
- Laz 0.9.29
- SVN Revision 25961 (showing in About form of Lazarus, but if I click in TortoiseSVN\Show log it show 26151)

I tried to install weblaz package. I selected and clicked "Save and rebuild IDE".

ERROR:
C:\freepascal\lazarus\ide\sourceeditor.pp(9095,28) Error: Wrong number of parameters specified for call to "Add"

Unit SourceEditor in this line:

  // layout
  IDEWindowCreators.Add(NonModalIDEWindowNames[nmiwSourceNoteBookName],
    nil, at CreateSourceWindow,'250','100','70%','70%',
    NonModalIDEWindowNames[nmiwMainIDEName],alBottom,
    true, at GetDefaultLayout);

What is happen?

I want to work with Web app, but using the most stable version of FPC and Lazarus.

Thanks,
Marcos Douglas

Reply by email

Mattias Gärtner
to Marcos Douglas

Zitat von Marcos Douglas :

Show quoted text 7 lines
Hi, I'm using: - WinXP - FPC 2.4.1 - Laz 0.9.29 - SVN Revision 25961 (showing in About form of Lazarus, but if I click in TortoiseSVN\Show log it show 26151)

Have you build lazarus clean after the svn update?

Show quoted text 16 lines
I tried to install weblaz package. I selected and clicked "Save and rebuild IDE". ERROR: C:\freepascal\lazarus\ide\sourceeditor.pp(9095,28) Error: Wrong number of parameters specified for call to "Add" Unit SourceEditor in this line: // layout IDEWindowCreators.Add(NonModalIDEWindowNames[nmiwSourceNoteBookName], nil, at CreateSourceWindow,'250','100','70%','70%', NonModalIDEWindowNames[nmiwMainIDEName],alBottom, true, at GetDefaultLayout); What is happen?

A unit in IDEIntf was changed.

I want to work with Web app, but using the most stable version of FPC and Lazarus.

Mattias

Reply by email

Marcos Douglas
to Mattias Gärtner

2010/6/16 Mattias G?rtner :

Show quoted text 11 lines
Zitat von Marcos Douglas : > Hi, > I'm using: > - WinXP > - FPC 2.4.1 > - Laz 0.9.29 > - SVN Revision 25961 (showing in About form of Lazarus, but if I click > in TortoiseSVN\Show log it show 26151) Have you build lazarus clean after the svn update?

When I try build the Lazarus, I get the same error here: http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-June/053111.html

Marco van de Voort said this:
http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-June/053140.html

...my problem was mixin versions. I have changed the SVN version 2.5.X to 2.4.X. So, I deleted all and started a new version from SVN (fixes_2.4) and it worked.

After that, I only updated files from SVN to get demos, examples, etc. This is not recommended?

Thanks,
Marcos Douglas

Reply by email

Mattias Gaertner
to Marcos Douglas
Show quoted text 15 lines
2010/6/16 Mattias G?rtner : > Zitat von Marcos Douglas : > >> Hi, >> I'm using: >> - WinXP >> - FPC 2.4.1 >> - Laz 0.9.29 >> - SVN Revision 25961 (showing in About form of Lazarus, but if I click >> in TortoiseSVN\Show log it show 26151) > > Have you build lazarus clean after the svn update? When I try build the Lazarus, I get the same error here: http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-June/053111.html

Compile with -vut to get more details from the compiler.

Show quoted text 8 lines
Marco van de Voort said this: http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-June/053140.html ...my problem was mixin versions. I have changed the SVN version 2.5.X to 2.4.X. So, I deleted all and started a new version from SVN (fixes_2.4) and it worked. After that, I only updated files from SVN to get demos, examples, etc. This is not recommended?

That sounds pretty normal.

Mattias

Reply by email

Marcos Douglas
to Mattias Gaertner

Hi Mattias, sorry for late.

Mattias Gaertner wrote
> When I try build the Lazarus, I get the same error here: > http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-June/053111.html Compile with -vut to get more details from the compiler.

The error was because a version of was broke Lazarus... so, I got Lazarus from /trunk.
Michael Van Canney would help me to change the code, but I prefered to get all sources from the /trunk (thanks Michael).

Show quoted text 10 lines
> Marco van de Voort said this: > http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-June/053140.html > > ...my problem was mixin versions. I have changed the SVN version 2.5.X to 2.4.X. > So, I deleted all and started a new version from SVN (fixes_2.4) and it worked. > > After that, I only updated files from SVN to get demos, examples, etc. > This is not recommended? That sounds pretty normal.

Yes ... but from now on, I will just grab the sources from trunk.

Thanks,
Marcos Douglas

Reply by email