remove FC_REFLECT_TEMPLATE for votes_info_object #280

Closed
opened 2022-02-16 12:30:13 +00:00 by vampik · 10 comments
vampik commented 2022-02-16 12:30:13 +00:00 (Migrated from gitlab.com)

Change votes_info_object in the way, so we don't need to use FC_REFLECT_TEMPLATE.

FC_REFLECT_TEMPLATE, is a rather complicated macro, and it has been updated in FC to store the reflected information for later use. GCC 9 fails to parse the code generated by this macro, an issue which was fixed in GCC 10.

Avoid the use of that macro. The code should be rewritten so that votes_info_object is not a template.

Change `votes_info_object` in the way, so we don't need to use `FC_REFLECT_TEMPLATE`. `FC_REFLECT_TEMPLATE`, is a rather complicated macro, and it has been updated in FC to store the reflected information for later use. GCC 9 fails to parse the code generated by this macro, an issue which was fixed in GCC 10. Avoid the use of that macro. The code should be rewritten so that `votes_info_object` is not a template.
vampik commented 2022-02-16 12:30:13 +00:00 (Migrated from gitlab.com)

assigned to @vampik

assigned to @vampik
vampik commented 2022-02-16 12:31:01 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
vampik commented 2022-02-16 12:32:24 +00:00 (Migrated from gitlab.com)

changed time estimate to 4h

changed time estimate to 4h
vampik commented 2022-02-27 17:06:58 +00:00 (Migrated from gitlab.com)

mentioned in commit 70666a55c9

mentioned in commit 70666a55c935bc919da0692fe7d31ba3291e8091
vampik commented 2022-02-27 17:11:38 +00:00 (Migrated from gitlab.com)

mentioned in merge request !76

mentioned in merge request !76
vampik commented 2022-02-27 17:12:52 +00:00 (Migrated from gitlab.com)

added 3h of time spent

added 3h of time spent
vampik commented 2022-02-28 10:49:36 +00:00 (Migrated from gitlab.com)

For testing that everything works like expected, use test cases from this task:
https://gitlab.com/PBSA/peerplays/-/issues/260

For testing that everything works like expected, use test cases from this task: https://gitlab.com/PBSA/peerplays/-/issues/260
serkixenos commented 2022-02-28 23:08:13 +00:00 (Migrated from gitlab.com)

mentioned in commit 4efa7e4fb8

mentioned in commit 4efa7e4fb837d14845c671dad8b573356dfc75de
vampik commented 2022-02-28 23:08:13 +00:00 (Migrated from gitlab.com)

mentioned in commit 5e81fc0024

mentioned in commit 5e81fc0024bd141db6b443f37fb404fdbd1479ce
serkixenos commented 2022-03-01 04:21:54 +00:00 (Migrated from gitlab.com)
https://gitlab.com/PBSA/peerplays/-/commit/5e81fc0024bd141db6b443f37fb404fdbd1479ce
serkixenos (Migrated from gitlab.com) closed this issue 2022-03-01 04:21:57 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#280
No description provided.