Recent

Author Topic: FPC 3.0.0 "Pestering Peacock"  (Read 71514 times)

Thaddy

  • Hero Member
  • *****
  • Posts: 14159
  • Probably until I exterminate Putin.
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #60 on: July 22, 2016, 10:52:09 am »
No problem with Ubuntu style name for me. Continue with 3.0.2, please :P

I smell a contest.....

Submission: "Wandering Willow"
Specialize a type, not a var.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #61 on: July 22, 2016, 11:22:02 am »
I smell a contest.....

Submission: "Wandering Willow"

Sure, no problem. If next conference a willow walks by we will  O:-)

Thaddy

  • Hero Member
  • *****
  • Posts: 14159
  • Probably until I exterminate Putin.
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #62 on: July 22, 2016, 12:19:36 pm »
That can be arranged (Halloween costume rental).
Or play sims ;)
Specialize a type, not a var.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #63 on: July 22, 2016, 02:48:03 pm »
A fake willow gets you a fake release, IOW then we will call rc1 that way.

Thaddy

  • Hero Member
  • *****
  • Posts: 14159
  • Probably until I exterminate Putin.
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #64 on: August 06, 2016, 10:23:05 am »
I see a 3.0.2 RC1 in svn. Is that already the official RC1?
Specialize a type, not a var.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #65 on: August 06, 2016, 09:17:08 pm »
I see a 3.0.2 RC1 in svn. Is that already the official RC1?

Probably yes, since sources are already uploaded. Unfortunately, the documentation tools needed some fixes to parse the TArray and advanced records TRect declarations. We are waiting for that (afaik Michael and Mattias are working on that)

kazalex

  • New Member
  • *
  • Posts: 29
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #66 on: August 06, 2016, 09:53:41 pm »
I only hope new version will not be released with such bug.

tom.chris

  • New member
  • *
  • Posts: 8
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #67 on: August 11, 2016, 12:16:01 pm »
ImageSize isn't implemented yet in FPC 3.0.0
« Last Edit: August 11, 2016, 12:18:56 pm by tom.chris »
OS : Windows 7 64 bit
Laz: Lazarus 1.6.0 FPC 3.0.0 i386-win32-win32/win64

BeniBela

  • Hero Member
  • *****
  • Posts: 905
    • homepage
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #68 on: August 11, 2016, 01:52:42 pm »
I only hope new version will not be released with such bug.

Just do not use nested types

Even if fpc would work, gdb won't and then you cannot debug them.

kazalex

  • New Member
  • *
  • Posts: 29
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #69 on: August 24, 2016, 09:37:54 am »
Quote
Just do not use nested types
Bug of nested types - just do not use it.
Bug of generics - just do not use it.
Bug of anything - just do not use it.

It's fine. I like it. Hello, Delphi 7!

Leledumbo

  • Hero Member
  • *****
  • Posts: 8744
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #70 on: August 24, 2016, 10:24:41 am »
Quote
Just do not use nested types
Bug of nested types - just do not use it.
Bug of generics - just do not use it.
Bug of anything - just do not use it.

It's fine. I like it. Hello, Delphi 7!
Just do not use whatever incomplete features you can't bear of its drawback for now. Feel free to use nested types & generics, despite they choke codetools and the debugger. I use generics, seldomly nested type as well because they still make my code simpler, while I still can use old style debugging when needed.

SnoopyDog

  • New Member
  • *
  • Posts: 26
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #71 on: October 11, 2016, 01:25:18 pm »
Unfortunately, FPC 3.0 does not support overloaded properties anymore.

Code: [Select]
type cTestClass = class
  function GetValue (Idx : integer) : string; overload; virtual; abstract;
  function GetValue (Key : string) : string; overload; virtual; abstract;
  property Value [Idx : integer] : string read GetValue; {$IFNDEF FPC }default;{$ENDIF}
  property Value [Key : string] : string read GetValue; {$IFNDEF FPC }default;{$ENDIF}
end;

This code compiles and works in Delphi 2007, Rad Studio 10.1 and FPC 2.6.4. But not in FPC 3.0 anymore.

I wrote it already here: http://forum.lazarus.freepascal.org/index.php/topic,32083.0.html
but maybe in this thread it is better (?)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #72 on: October 11, 2016, 01:45:12 pm »
No this is not the correct place. For bugs please use the bugtracker. Bugs needs to be fixed in trunk first before we even can talk about the release branch.

SnoopyDog

  • New Member
  • *
  • Posts: 26
Re: FPC 3.0.0 "Pestering Peacock"
« Reply #73 on: October 11, 2016, 02:34:00 pm »
Ok thank you! So i need to register at the bugtracker.

Thaddy

  • Hero Member
  • *****
  • Posts: 14159
  • Probably until I exterminate Putin.
Specialize a type, not a var.

 

TinyPortal © 2005-2018