1 / 4
May 2015

Has something changed in the Free Pascal environment that would prevent some units from being found?

On 2010-10-14 I submitted a Free Pascal solution that used the "contnrs" unit - this got WA. I can see from an earlier compilation error that Free Pascal v2.2.4-3 was in use at the time.

I've just tried re-submitting exactly the same code, and this now gets a compilation error that the "contnrs" unit cannot be found. This is with Free Pascal v2.6.4+dfsg-4.

Please can we have the contnrs unit back?

  • created

    May '15
  • last reply

    Dec '19
  • 3

    replies

  • 1.5k

    views

  • 2

    users

  • 1

    link

3 months later

Can you give me your username, problem's CODE and ID of your submissions?

2 years later

Sure, username is Simes, problem code is ONTIME, and submission ID is 20173231.

See https://www.freepascal.org/docs-html/fcl/contnrs/index.html2

Free Pascal Compiler version 3.0.0+dfsg-10 [2016/12/12] for x86_64
Copyright © 1993-2015 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling prog.pas
prog.pas(10,22) Fatal: Can’t find unit contnrs used by OnTime
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode

(Sorry for the slight delay in replying.)

2 years later

Free Pascal 3.0.4 still doesn’t have the containers unit enabled. Please can we have it back?

Free Pascal Compiler version 3.0.4+dfsg-22 [2019/01/24] for x86_64
Copyright © 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling prog.pas
prog.pas(7,22) Fatal: Can’t find unit contnrs used by OnTime
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode