Recent

Author Topic: impossible bug under ARM  (Read 5440 times)

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: impossible bug under ARM
« Reply #15 on: August 29, 2018, 06:20:43 pm »
No, the compiler gives no warnings. The linker gives the usual warning: "link.res contains output sections; did you forget -T?"
That means your FPC is old... From 3.0.4 that warning is gone...

Uhh .. Thaddy, I'm using 3.0.4  and the warning is still there (at least in Linux). Does it not depend rather on the version of ld (the linker)?
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Thaddy

  • Hero Member
  • *****
  • Posts: 14373
  • Sensorship about opinions does not belong here.
Re: impossible bug under ARM
« Reply #16 on: August 29, 2018, 06:50:53 pm »
Uhh .. Thaddy, I'm using 3.0.4  and the warning is still there (at least in Linux). Does it not depend rather on the version of ld (the linker)?
There's a very slight chance it is just in 3.2.0 but I really think the linker behavior has changed since 3.0.4. provided you have an up-to-date linker. 2.21 won't do.

More in detail: FPC changed the way it talks to the linker and the warning is harmless.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

 

TinyPortal © 2005-2018