Project

General

Profile

Actions

Support #13

open

Support #10: Addapt to modern software

Adapt to C++20

Added by I. Valentin over 3 years ago. Updated over 3 years ago.

Status:
Paused
Priority:
Normal
Assignee:
Category:
Project structure
Target version:
-
Start date:
2022-09-27
Due date:
% Done:

30%

Estimated time:

Description

Adapt the project to the C++20 standard instead of C++11. Make the required changes for it to compile and resolve any warnings produced by teh upgrade.

Actions #1

Updated by I. Valentin over 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

Some changes have been made, but the application still doesn't compile against C++20. There are issues with unique_pointer and shared_pointer.

Actions #2

Updated by I. Valentin over 3 years ago

  • % Done changed from 30 to 80

As of #85fe59cc2a5415a773def6d9a6fa951ac8bb3e01, the project complies against C++20.

Both the engine and the installer work.

There are a lot of warnings from the compiler but it's hard to say if there are more or less than before. They should be lookid into.

Actions #3

Updated by I. Valentin over 3 years ago

  • Status changed from In Progress to Paused
  • % Done changed from 80 to 30

The project has gone back to C++14. Specifications 17 and 20 compile the project, but the installer fails on runtime.

The error is related to the make_unique implementation. Strangely enough, the error doesn't arise in the engine.

C++14 is enough, at least, to remove the custo make_unique implementation.

Actions

Also available in: Atom PDF