Any idea why we get this error, or even better, how to fix it :

Any idea why we get this error, or even better, how to fix it :

[dcc32 Error] JclRTTI.pas(663): E2134 Type '' has no type info

We compile same code in about 6 projects successfully. Also this problematic project UnitTest-project builds just fine on our Jenkings integration box.

Checked project settings against one builds just fine, some differences but did not have any effect.

Reason why some projects work, but some don't, is weird.

Comments

  1. No I did not... Did not occur to me that there could be something that would make difference... Changes in code base where just introduced code that was pulling the Jcl-stuff in. So did not reaealize that at first. Just before I saw the solution I checked the Release build...

    ReplyDelete
  2. ahem, that is why Delphi 2006 introduced two build modes (and actually you can add even more your build modes and templates) - to make different settings for the same sources of project.

    That said, I think $M+ is never default setting, even in Debug IDE mode. I can hardly imagine any reason to tick that checkbox on...

    ReplyDelete
  3. that check was Most likely done in error.

    ReplyDelete

Post a Comment