Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Feb 14, 2023

This fixes building for GCC 8. I found out that people still build with Ubuntu 18 and some changes in #737 didn't account for that.

  • Restore explicit linking with stdc++fs (but only for GCC 8)
  • Add missing header (didn't build on GCC 8.4.0 without this)

Contributed by STMicroelectronics
Signed-off-by: Erik MÅLLBERG erik.lundin@st.com

@edriouk Please review :)

Erik MÅLLBERG added 2 commits February 14, 2023 14:41
This partially reverts commit e7b1121 but narrows down the check to
only match GCC 8.

Contributed by STMicroelectronics

Signed-off-by: Erik MÅLLBERG <erik.lundin@st.com>
std::put_time is defined in header <iomanip>. Found when building with GCC 8.

Contributed by STMicroelectronics

Signed-off-by: Erik MÅLLBERG <erik.lundin@st.com>
@github-actions
Copy link

github-actions bot commented Feb 14, 2023

Test Results

    8 files    50 suites   5m 34s ⏱️
161 tests 161 ✔️ 0 💤 0
640 runs  640 ✔️ 0 💤 0

Results for commit d70de21.

♻️ This comment has been updated with latest results.

@codecov
Copy link

codecov bot commented Feb 14, 2023

Codecov Report

Merging #746 (d70de21) into main (cbc521c) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #746   +/-   ##
=======================================
  Coverage   51.33%   51.33%           
=======================================
  Files         116      116           
  Lines       21471    21471           
  Branches    11821    11821           
=======================================
  Hits        11022    11022           
  Misses       8440     8440           
  Partials     2009     2009           
Flag Coverage Δ
buildmgr-cov 75.42% <ø> (ø)
packchk-cov 50.79% <ø> (ø)
packgen-cov 81.72% <ø> (ø)
projmgr-cov 80.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
tools/projmgr/src/ProjMgrGenerator.cpp 87.91% <ø> (ø)

@edriouk edriouk merged commit fc60c75 into Open-CMSIS-Pack:main Feb 14, 2023
@ghost ghost deleted the gcc8 branch February 14, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant