Skip to content

Conversation

@jonathangjertsen
Copy link
Contributor

Supress spurious warnings from the CCS compiler

Description

Fixes warnings when building with CCS:

error #1916-D: definition at end of file not followed by a semicolon or a declarator

Test Steps

Compile a project with this fix, and the warning should go away

Related Issue

N/A

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jonathangjertsen jonathangjertsen requested a review from a team as a code owner April 3, 2022 15:58
@jonathangjertsen
Copy link
Contributor Author

@jscott-hotstart Thanks a lot for adding support for this board and compiler!

It seems like CCS gets confused by the creative use of #include in this project, but at least the warnings can be suppressed 🤷

@jonathangjertsen jonathangjertsen changed the title Supress spurious warnings from the CCS compiler Suppress spurious warnings from the CCS compiler Apr 3, 2022
@AniruddhaKanhere
Copy link
Member

@jonathangjertsen, thanks a lot for taking the time to create a PR.

We'll look into it and proceed with merging if all goes well.

Thanks,
Aniruddha

Copy link
Contributor

@jscott-hotstart jscott-hotstart left a comment

Choose a reason for hiding this comment

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

I've tested these changes and they do indeed suppress the warnings as advertised. Thanks @jonathangjertsen!

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.

5 participants