Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2021-07

To all Mantis (Bugtracker) account holders - prepare for the move to Gitlab - Now

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

Repost from the lazarus list:

---

Hello All,

https://forum.lazarus.freepascal.org/index.php/topic,55167.0.html

We are moving our bugs to Gitlab.

- If you have a mantis account,
- and you want your bugs (or notes) to be identified on gitlab

we can add your gitlab account to the info of the converted bugs/notes.

But you need to provide the info.

To map your gitlab user name (or ID) to the mantis user, we ask that you file an issue in the mantis project of the current bugtracker
https://bugs.freepascal.org/bug_report_page.php?project_id=4 Assign it the category gitlab, and set the summary of the bugreport to your gitlab account name or ID number (not both!).

Only a few days left.

Reply by email

Ryan Joseph
to Michael Van Canneyt
Show quoted text 8 lines
On Jul 17, 2021, at 12:58 PM, Michael Van Canneyt via fpc-devel To map your gitlab user name (or ID) to the mantis user, we ask that you file an issue in the mantis project of the current bugtracker https://bugs.freepascal.org/bug_report_page.php?project_id=4 Assign it the category gitlab, and set the summary of the bugreport to your gitlab account name or ID number (not both!).

I signed in with GitLab using my GitHub account (where may user name is @genericptr). Does that mean simply file a report with the "summary" field containing "genericptr"? I guess this process is automated. I have a number of open reports I'd like transferred over.

Does this mean the Mantis reporter is going be shut down or are users simply encouraged to not post new reports there?

Regards,
Ryan Joseph

Reply by email

Michael Van Canneyt
to Ryan Joseph
Ryan Joseph wrote 14 lines
> On Jul 17, 2021, at 12:58 PM, Michael Van Canneyt via fpc-devel > > To map your gitlab user name (or ID) to the > mantis user, we ask that you file an issue in the mantis project of the > current bugtracker > https://bugs.freepascal.org/bug_report_page.php?project_id=4 > Assign it the category gitlab, and set the summary of > the bugreport to your gitlab account name or ID number (not both!). I signed in with GitLab using my GitHub account (where may user name is @genericptr). Does that mean simply file a report with the "summary" field containing "genericptr"?

Yes.

I guess this process is automated. I have a number of open reports I'd like transferred over.

All reports are transferred. We need the username to refer to you as a user, I suppose as a user you can also see all reports in which you are mentioned.

Does this mean the Mantis reporter is going be shut down or are users simply encouraged to not post new reports there?

Mantis will be shut down. I will only place a redirect so old 'view' links will be redirected permanently to gtilab.

Michael.

Reply by email

Zeljko Avramovic
to Ryan Joseph

As discussed at https://forum.lazarus.freepascal.org/index.php/topic,55397.0.html, this compiles and works well:

  {$MACRO ON}
  {$if SizeOf(byte) = 1}
    WriteLn('SizeOf(byte) = ', SizeOf(byte));
  {$endif}

however this does not compile:

  {$MACRO ON}
  {$define TMyOrdinalType := byte}
  {$if SizeOf(TMyOrdinalType) = 1}
    WriteLn('SizeOf(TMyOrdinalType) = ', SizeOf(TMyOrdinalType));
  {$endif}

and creates this compilation error: Identifier not found "TMyOrdinalType"

Looking at the documentation https://www.freepascal.org/docs-html/prog/progsu29.html I was expecting {$if SizeOf(TORDINALTYPE) = 1} to compile. If I am reading it correctly, then I should either file a documentation bug report to make documentation more clear, or a feature bug report where this $IF example is not behaving as it should. Which should I report?

Reply by email

Michael Van Canneyt
to Zeljko Avramovic
Zeljko Avramovic wrote 20 lines
As discussed at https://forum.lazarus.freepascal.org/index.php/topic,55397.0.html, this compiles and works well: {$MACRO ON} {$if SizeOf(byte) = 1} WriteLn('SizeOf(byte) = ', SizeOf(byte)); {$endif} however this does not compile: {$MACRO ON} {$define TMyOrdinalType := byte} {$if SizeOf(TMyOrdinalType) = 1} WriteLn('SizeOf(TMyOrdinalType) = ', SizeOf(TMyOrdinalType)); {$endif} and creates this compilation error: Identifier not found "TMyOrdinalType" Looking at the documentation https://www.freepascal.org/docs-html/prog/progsu29.html I was expecting {$if SizeOf(TORDINALTYPE) = 1} to compile.

Why are you expecting it ? TOrdinalType is not an identifier.

It's a macro that resolved to an identifier.

Macros are not expanded in directives.

If I am reading it correctly, then I should either file a documentation bug report to make documentation more clear, or a feature bug report where this $IF example is not behaving as it should. Which should I report?

Documentation bug.

Michael.

Reply by email