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 rocksb non optimized build warning #107

Merged
merged 1 commit into from
May 12, 2023
Merged

Conversation

Avi-D-coder
Copy link
Contributor

cargo build was giving me many of these warnings. This PR enables optimization of cozorocks to silence that error.

warning: In file included from build_version.cc:3:
warning: In file included from /nix/store/dj5anrpwcn0p6h3xnqyr5mz30fc7l825-gcc-12.2.0/include/c++/12.2.0/memory:63:
warning: In file included from /nix/store/dj5anrpwcn0p6h3xnqyr5mz30fc7l825-gcc-12.2.0/include/c++/12.2.0/bits/stl_algobase.h:59:
warning: In file included from /nix/store/dj5anrpwcn0p6h3xnqyr5mz30fc7l825-gcc-12.2.0/include/c++/12.2.0/x86_64-unknown-linux-gnu/bits/c++config.h:655:
warning: In file included from /nix/store/dj5anrpwcn0p6h3xnqyr5mz30fc7l825-gcc-12.2.0/include/c++/12.2.0/x86_64-unknown-linux-gnu/bits/os_defines.h:39:
warning: /nix/store/bhhb91angi23wsr42apz1in1n9b9ilg3-glibc-2.37-8-dev/include/features.h:413:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings]
warning: #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
warning:    ^
warning: 1 warning generated.

@github-actions
Copy link
Contributor

github-actions bot commented May 11, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@Avi-D-coder
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@zh217 zh217 merged commit d21f4e6 into cozodb:dev May 12, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 12, 2023
@Avi-D-coder Avi-D-coder deleted the rocks-warning branch May 12, 2023 19:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants