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 file permissions for some ydb tests. #446

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

prohaska7
Copy link
Contributor

Fix file permissions for some ydb tests.

Tools:
Ubuntu 20.04, Gcc 10.0.1, Cmake 3.16.3, libc-2.31

Copyright (c) 2020, Rik Prohaska
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

tokuft test version.  rename tokuft test version to avoid conflict.
…uage specific flag support

by the compiler, the probe needs to turn warnings into errors.

Performing C++ SOURCE FILE Test HAVE_STDCXX0X failed with the following output:
Change Dir: /home/rfp/projects/tokuft-Debug-gcc-10/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_7c189/fast && /usr/bin/make -f CMakeFiles/cmTC_7c189.dir/build.make CMakeFiles/cmTC_7c189.dir/build
make[1]: Entering directory '/home/rfp/projects/tokuft-Debug-gcc-10/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_7c189.dir/src.cxx.o
/usr/bin/g++-10    -Wall -Werror -Wcast-align -Wmissing-format-attribute -Wshadow -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wno-missing-noreturn -Wbad-function-cast -Wextra -fno-omit-frame-pointer -Wpacked -Wno-error=nonnull-compare -fno-exceptions -fno-rtti -Wlogical-op -Wtrampolines -Wswitch -Winit-self -Wstrict-null-sentinel -Wno-missing-field-initializers  -Wno-address-of-packed-member -fexceptions -DHAVE_STDCXX0X   -std=c++0x -o CMakeFiles/cmTC_7c189.dir/src.cxx.o -c /home/rfp/projects/tokuft-Debug-gcc-10/CMakeFiles/CMakeTmp/src.cxx
cc1plus: error: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command-line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [-Werror]
cc1plus: error: command-line option '-Wbad-function-cast' is valid for C/ObjC but not for C++ [-Werror]
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