[jira] [Commented] (MESOS-6100) Make fails compiling 1.0.1

2016-10-18 Thread Vinod Kone (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15586714#comment-15586714
 ] 

Vinod Kone commented on MESOS-6100:
---

Cherry-picked to 1.0.x

commit aa6dad2117ef088ed086df760a9488e77376885d
Author: Neil Conway 
Date:   Wed Sep 21 10:23:47 2016 -0700

Fixed an uninitialized variable warning.

Observed with clang-tidy.

Review: https://reviews.apache.org/r/52113/


> Make fails compiling 1.0.1 
> ---
>
> Key: MESOS-6100
> URL: https://issues.apache.org/jira/browse/MESOS-6100
> Project: Mesos
>  Issue Type: Bug
>Affects Versions: 1.0.1
> Environment: Alpine Linux  (Edge)
> GCC 6.1.1
>Reporter: Gennady Feldman
>Assignee: Kevin Klues
> Fix For: 1.0.2, 1.1.0
>
>
> linux/fs.cpp: In static member function 'static 
> Try 
> mesos::internal::fs::MountInfoTable::read(const Option&, bool)':
> linux/fs.cpp:152:27: error: 'rootParentId' may be used uninitialized in this 
> function [-Werror=maybe-uninitialized]
>  sortFrom(rootParentId);
>^
> cc1plus: all warnings being treated as errors
> P.S. This is something new since I am able to compile 1.0.0 just fine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MESOS-6100) Make fails compiling 1.0.1

2016-10-06 Thread Neil Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15551993#comment-15551993
 ] 

Neil Conway commented on MESOS-6100:


[~klueska] -- seems I can't edit reviews that have already been marked as 
submitted...

> Make fails compiling 1.0.1 
> ---
>
> Key: MESOS-6100
> URL: https://issues.apache.org/jira/browse/MESOS-6100
> Project: Mesos
>  Issue Type: Bug
>Affects Versions: 1.0.1
> Environment: Alpine Linux  (Edge)
> GCC 6.1.1
>Reporter: Gennady Feldman
>Assignee: Kevin Klues
> Fix For: 1.1.0, 1.0.2
>
>
> linux/fs.cpp: In static member function 'static 
> Try 
> mesos::internal::fs::MountInfoTable::read(const Option&, bool)':
> linux/fs.cpp:152:27: error: 'rootParentId' may be used uninitialized in this 
> function [-Werror=maybe-uninitialized]
>  sortFrom(rootParentId);
>^
> cc1plus: all warnings being treated as errors
> P.S. This is something new since I am able to compile 1.0.0 just fine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MESOS-6100) Make fails compiling 1.0.1

2016-10-04 Thread Kevin Klues (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15546107#comment-15546107
 ] 

Kevin Klues commented on MESOS-6100:


This was fixed by: https://reviews.apache.org/r/52113

[~neilc] Can you add a backlink to this bug in the review.

{noformat}
commit 84a3adb92e53a5683584df84971272d840cbe96b
Author: Neil Conway 
Date:   Wed Sep 21 10:23:47 2016 -0700

Fixed an uninitialized variable warning.

Observed with clang-tidy.

Review: https://reviews.apache.org/r/52113/
{noformat}

> Make fails compiling 1.0.1 
> ---
>
> Key: MESOS-6100
> URL: https://issues.apache.org/jira/browse/MESOS-6100
> Project: Mesos
>  Issue Type: Bug
>Affects Versions: 1.0.1
> Environment: Alpine Linux  (Edge)
> GCC 6.1.1
>Reporter: Gennady Feldman
>Assignee: Kevin Klues
>
> linux/fs.cpp: In static member function 'static 
> Try 
> mesos::internal::fs::MountInfoTable::read(const Option&, bool)':
> linux/fs.cpp:152:27: error: 'rootParentId' may be used uninitialized in this 
> function [-Werror=maybe-uninitialized]
>  sortFrom(rootParentId);
>^
> cc1plus: all warnings being treated as errors
> P.S. This is something new since I am able to compile 1.0.0 just fine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MESOS-6100) Make fails compiling 1.0.1

2016-09-06 Thread Kevin Klues (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-6100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15467316#comment-15467316
 ] 

Kevin Klues commented on MESOS-6100:


The following patch includes some code that would resolve this issue:

https://reviews.apache.org/r/51651/

> Make fails compiling 1.0.1 
> ---
>
> Key: MESOS-6100
> URL: https://issues.apache.org/jira/browse/MESOS-6100
> Project: Mesos
>  Issue Type: Bug
>Affects Versions: 1.0.1
> Environment: Alpine Linux  (Edge)
> GCC 6.1.1
>Reporter: Gennady Feldman
>Assignee: Kevin Klues
>
> linux/fs.cpp: In static member function 'static 
> Try 
> mesos::internal::fs::MountInfoTable::read(const Option&, bool)':
> linux/fs.cpp:152:27: error: 'rootParentId' may be used uninitialized in this 
> function [-Werror=maybe-uninitialized]
>  sortFrom(rootParentId);
>^
> cc1plus: all warnings being treated as errors
> P.S. This is something new since I am able to compile 1.0.0 just fine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)