Try "Clean up and build"Not necessary. Always advise latest release. You may also want to know about internal error coding: afaik it's a date + info,
Alternatively you may try installing a newer FPC version (3.1.1+)
You are not using a fork like CodeTyphon or Newpascal? are you?Both are a no
If not add example to reproduce...
Youprobablyhave a f*cked up install but if you are interested it is easy to find in the compiler sources.
See in symsym.pas:
// Maak een multipart deel aan.
Because this is now line 87It doesn't matter what is standing at line 87.That's why you have a F....s install in the first place.
Now it stops atCode: [Select]// Maak een multipart deel aan.
Because this is now line 87
And that is a commented line
In this case, if Thaddy had bothered to check mantis instead of a knee-jerk reaction, he would have found https://bugs.freepascal.org/view.php?id=32352 right on the first page with errors.@Marco
That's why you have a F....s install in the first place.
It means make sure you start with a completely empty folder.So delete lazarus, fpc, fpc-scr and all its associated files
and install the product again.
even deleting the folder would be a good start then install it..
function Test: Integer;
begin
do a lot
Test := Do a lot;
end;
result := Do a lot;
I sometimes get this, always here:Also I get this error there, I made this:
win32wsmenus.pp(253,1) Error: Internal error 200611031
Only a clean rebuild helps unfortunately.
Bart
Hello all,
I got the same issue for a while now (but with 3 lines).
It does not want to compile showing that error.
The workaround is to add and then delete a line for example (anywhere in the code and because 3 lines show the error, I have to do this 3 times), then it compiles correctly...
Very weird bug.
Cleaning all and installing again lazarus makes it work for some time, then it starts again to show that error...