Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++17 __has_include (sort of...) and minor libmythfreemheg cleanup #455

Closed
wants to merge 9 commits into from

Conversation

ulmus-scott
Copy link
Contributor

The first commit was originally part of #443 .

I had hoped this would be more focused and coherent, but it isn't really.

This was referenced Jan 10, 2022
@ulmus-scott ulmus-scott changed the title C++17 __has_include (sort of...) C++17 __has_include (sort of...) and minor libmythfreemheg cleanup Feb 7, 2022
Programs.cpp needed reordering of includes for HAVE_GETTIMEOFDAY (-Wundef)
<sys/timeb.h> is unused
<sys/time.h> is unconditionally included by mythchrono.h but not used directly

<ctime> is used unconditionally
no symbols are used from either (myth)config.h or compat.h
<ctime> and "mythchrono.h" are no longer needed

The QDateTime conversion in FormatDate was incorrect. fromMSecsSinceEpoch instead of fromSecsSinceEpoch

However, no one must use FormatDate since that error is from 0d195a9 on 2020-07-02.
@ulmus-scott ulmus-scott deleted the has_include branch June 29, 2022 19:32
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.

None yet

1 participant