Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Conversation

@lighterowl
Copy link
Contributor

Forward declarations are not allowed to have nested namespace declarations, as
they have to appear inside a namespace if the thing they're forwarding appears
in a namespace originally.

This is a warning with GCC, but an error with Clang. Removing the declaration
entirely is the way to go, since psgStreamReader.h includes textSubtitles.h
anyway, which contains a full definition of the TextToPGSConverter class.

Forward declarations are not allowed to have nested namespace declarations, as
they have to appear inside a namespace if the thing they're forwarding appears
in a namespace originally.

This is a warning with GCC, but an error with Clang. Removing the declaration
entirely is the way to go, since psgStreamReader.h includes textSubtitles.h
anyway, which contains a full definition of the TextToPGSConverter class.
@justdan96
Copy link
Owner

justdan96 commented Oct 23, 2019

This is great, I've been struggling with getting a build going with osxcross and that also requires Clang. Can you please test your build for the issues given the in other active issue, around errors with 64 bit? Preferably using the same files in the Google Drive. I'm curious if you see the exact same corruption issues.

@lighterowl
Copy link
Contributor Author

I left a comment in #9.

@justdan96 justdan96 merged commit 080bb15 into justdan96:master Oct 23, 2019
@lighterowl lighterowl deleted the fix-clang-build branch October 23, 2019 20:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants