I have an error at run /solutions/pascal, this error stops the compilation processing, but my code run well in my environment of developing
What do you understand or find about that problem?
I don’t understand the problem, because my code run nicely in others environs, and searched in forums and found that problem is a serene of the compiler and not a problem as such
You make any workaround? What did you do?
I tasted advice that I found in forums, but not functioned
I need help with
I would like to understand the why this problem.
Thank you in advance for your help
Please add links to the broken pipe
You cannot use online compilers as you must to run the prelude and postlude commands, also the compiler version of the repository is different
Most of the repo languages can be installed with Languages | Autonomic Jump
this is the link to the broken pipeline: https://gitlab.com/autonomicjump/challenges/-/jobs/1535266984
I searched this problem and the solutions proposed on forums indicate that solution is turn off suggest of the compiler, but it is not the correct solution, it’s confusing for me the next passed for resolve this problem
That is not a problem in the compiler, you must solve this problem in your code
`2clbi1s0b5p57vdapryg7fh8rpa6hf2m-ccortes94.pas(57,17) Hint: Variable "list" of a managed type does not seem to be initialized`
`2clbi1s0b5p57vdapryg7fh8rpa6hf2m-ccortes94.pas(65,1) Fatal: There were 1 errors compiling module, stopping` `Fatal: Compilation aborted`
you need to install the compiler with the correct version to be able to reproduce the error or in other case install nix and makes to run local builds Builds | Autonomic Jump
The same thing happened to me, and the problem is because of the warnings at compile time, the code may work fine, but if there is any warning, the pipeline will fail.
You must compile without any warnings and the pipeline will be successful.
your problem is described by the pipeline, ( initialize variable ‘list’ )
Firstly thanks to those who answered my question.
The source of the problem was that I used a dynamic array, and this can’t be initialized before of use setLength. The best solution for mi case was this Preguntas Contestadas - Preguntas/Respuestas - La Web del Programador