[Users] Warnings treated as errors

2016-01-06 Thread dptrash
Hello everyone

Could you please tell me what and in which version you use to build ploop, 
vzctl, and vzquota? I am using GCC 5.3 and get a lot of warnings (Inline, …) 
which are treated as errors according to -Werror in CFLAGS.

Thanks and Happy New Year!

___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Warnings treated as errors

2016-01-06 Thread Jeffrey Walton
> Could you please tell me what and in which version you use to build ploop, 
> vzctl, and vzquota? I am using GCC 5.3 and get a lot of warnings (Inline, …) 
> which are treated as errors according to -Werror in CFLAGS.
>
This does not answer your question on versioning, but it may help
resolve the problem.

These look like they are part of the OpenVZ API
(http://www.openvz.org/). Perhaps you should configure without OpenVZ
support; or compile and link against the OpenVZ API.

Run the following to see how to configure without OpenVZ support:

./configure --help | grep -i openvz

The package should give you the option.

Jeff

___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Warnings treated as errors

2016-01-06 Thread Kir Kolyshkin



On 01/06/2016 02:00 AM, dptr...@arcor.de wrote:

Hello everyone

Could you please tell me what and in which version you use to build ploop, 
vzctl, and vzquota? I am using GCC 5.3 and get a lot of warnings (Inline, .) 
which are treated as errors according to -Werror in CFLAGS.


I just tried to build git versions of ploop, vzctl, and vzquota (from 
legacy OpenVZ)
using gcc-5.3.1 from Fedora 23, and I see zero warnings or other such 
issues.


So, please give us some more details.

Kir.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users