Skip to content

Add CMake project, GCC support#540

Merged
mcooley merged 4 commits intomicrosoft:masterfrom
janisozaur:gcc-port
Jun 6, 2019
Merged

Add CMake project, GCC support#540
mcooley merged 4 commits intomicrosoft:masterfrom
janisozaur:gcc-port

Conversation

@janisozaur
Copy link
Copy Markdown
Contributor

This is extract from #211 that enables compilation with GCC. With #211
now in the state of bitrot, I would rather try approaching it in smaller
steps that can be hopefully merged quicker, even if it does not provide
full support for all the features #211 provided.

This will compile correctly with my (@janisozaur) GCC, but clang is
more picky about flexible array memebers and refuses to compile it yet.
I will extract remaining parts of #211 in future PRs.

I marked @fwcd as author, as he did most of the work in #211.

This is extract from microsoft#211 that enables compilation with GCC. With microsoft#211
now in the state of bitrot, I would rather try approaching it in smaller
steps that can be hopefully merged quicker, even if it does not provide
full support for all the features microsoft#211 provided.

This will _compile_ correctly with my (@janisozaur) GCC, but clang is
more picky about flexible array memebers and refuses to compile it yet.
I will extract remaining parts of microsoft#211 in future PRs.

I marked @fwcd as author, as he did most of the work in microsoft#211.
@janisozaur janisozaur force-pushed the gcc-port branch 4 times, most recently from 322ec0e to 9314d6d Compare June 5, 2019 20:57
@janisozaur
Copy link
Copy Markdown
Contributor Author

I'm happy with the current state of this PR and I will work on extracting the changes to flexible array members next, in future PR.

Copy link
Copy Markdown
Member

@mcooley mcooley left a comment

Choose a reason for hiding this comment

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

Thanks for getting this going again! Just a few minor suggestions, and then we can merge this in.

Add missing sal.h include, fix arguments to wcstol
@janisozaur
Copy link
Copy Markdown
Contributor Author

All done now.

Copy link
Copy Markdown
Member

@mcooley mcooley left a comment

Choose a reason for hiding this comment

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

Awesome, thank you!

@mcooley mcooley merged commit fe30c7c into microsoft:master Jun 6, 2019
@janisozaur janisozaur deleted the gcc-port branch January 12, 2021 18:05
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.

3 participants