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

Switch to fully-qualified #includes #1261

Merged
merged 2 commits into from
Jul 30, 2023
Merged

Conversation

achernya
Copy link
Collaborator

@achernya achernya commented Mar 6, 2023

This PR removes the various -I invocations in the different AM_CPPFLAGS in favor of a uniform -I$(top_srcdir). This makes it possible to see how the various files are organized, and avoid conflicts between them. This change does not reorder any of the headers; a future change can (and likely should!) do that.

Copy link
Contributor

@ezzieyguywuf ezzieyguywuf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took a read through this and this looks good to me.

I haven't tested this locally, but i trust that things still compile as expected.

This is good work thanks for putting this together!

-I$(top_srcdir) is not usable on macOS due to a conflicting C++ header
 `version`.
Previously, mosh used extensive -I flags and all of the mosh-local
makes it really hard to tell what the proper dependency graph is, so
instead remove the -I arguments in favvor of $(top_srcdir) and qualify
the paths wherever they are used.
@achernya achernya merged commit 325098a into mobile-shell:master Jul 30, 2023
5 checks passed
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

2 participants