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

Fix C compilation #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pilzschaf
Copy link

To be able to use ffx_spd in C I put the overload of the SpdSetup with fewer parameters inside a __cplusplus preprocessor block. This way it compiles correctly in C mode and C++ user can still benefit from the simpler additional Setup call.
Additionally I had to change the casting syntax at two points to the traditional C casting syntax.
This should fix compilation of ffx_spd for C compilers.

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