Skip to content

Jph wip baseline 20230224#1

Closed
jphickey wants to merge 3 commits intomainfrom
jph-wip-baseline-20230224
Closed

Jph wip baseline 20230224#1
jphickey wants to merge 3 commits intomainfrom
jph-wip-baseline-20230224

Conversation

@jphickey
Copy link
Owner

Test merge

Correct a few syntactical items that are valid C99 but not valid for
C++03.  This includes use of the designated initializer, compound
literals, variadic macros, and a trailing comma in enum declarations.

Note this only matters for public API headers, as some users may need to
include these directly from a c++ file.  For normal C source files, these
are all compiled as C99 and thus the syntax is fine.
Adds a new build and test workflow that includes an API validation with
both C and C++ compilers.  This should catch any cases where syntactical
elements that work in C but do not work in C++ appear in the headers.
@jphickey jphickey closed this Mar 14, 2023
@jphickey jphickey deleted the jph-wip-baseline-20230224 branch March 14, 2023 13:33
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.

1 participant