Skip to content

Make some headers more explicitly C++-only#69

Merged
neboat merged 4 commits intoOpenCilk:devfrom
VoxSciurorum:jfc/headers
Jan 26, 2026
Merged

Make some headers more explicitly C++-only#69
neboat merged 4 commits intoOpenCilk:devfrom
VoxSciurorum:jfc/headers

Conversation

@VoxSciurorum
Copy link
Contributor

Make some headers more explicitly C++-only, renaming to drop the .h suffix and removing #ifdef __cplusplus.

Make cilk.h do nothing if __cilk is at least 301, the version introducing keyword support for the names beginning with cilk_.

This requires corresponding changes to cilktools and smallapps, which are ready.

@neboat neboat merged commit 1f3024f into OpenCilk:dev Jan 26, 2026
3 of 5 checks passed
@VoxSciurorum VoxSciurorum deleted the jfc/headers branch February 6, 2026 17:23
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.

2 participants