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++) build for windows #679

Merged
merged 7 commits into from
Sep 18, 2024

Conversation

DenisBiryukov91
Copy link
Contributor

Fix C++ build for windows:
Enable shared libs build for windows;
rename asm stub argument from "asm" to "instruction" since asm is reserved keyword;
force exporting all symbols for dll (TODO: mark only public api for export);
replace _Bool with bool, since the later is supported starting from C99 (_Bool is not supported in C++ under windows)

Copy link

PR missing one of the required labels: {'documentation', 'new feature', 'enhancement', 'breaking-change', 'dependencies', 'bug', 'internal'}

@DenisBiryukov91 DenisBiryukov91 added the internal Changes not included in the changelog label Sep 17, 2024
@@ -21,7 +21,7 @@
#define Z_BATCH_MULTICAST_SIZE 2048
#define Z_CONFIG_SOCKET_TIMEOUT 100

#define Z_FEATURE_UNSTABLE_API 0
#define Z_FEATURE_UNSTABLE_API 1
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd revert this value as PIO doesn't seem to autogenerate this file properly for now. Otherwise, LGTM

@Mallets Mallets merged commit c9deea0 into eclipse-zenoh:main Sep 18, 2024
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Changes not included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants