<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:53:23 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-12527] lustreapi.h not c++ compatible</title>
                <link>https://jira.whamcloud.com/browse/LU-12527</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;If one tries to compile a C++ program with the `lustre/lustreapi.h` header, the compiler will throw all kinds of warnings.  &lt;/p&gt;

&lt;p&gt;This issue came up on the mailing list a few years ago:  &lt;a href=&quot;http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2017-March/014268.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2017-March/014268.html&lt;/a&gt; and I encountered it again in a different context this week.  Guess not many C++ programs  try to use lustreapi.h !&lt;/p&gt;</description>
                <environment>C++</environment>
        <key id="56302">LU-12527</key>
            <summary>lustreapi.h not c++ compatible</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="robl">Robert Latham</assignee>
                                    <reporter username="robl">Robert Latham</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Jul 2019 21:03:05 +0000</created>
                <updated>Thu, 15 Aug 2019 13:44:28 +0000</updated>
                            <resolved>Thu, 15 Aug 2019 13:44:28 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="250924" author="robl" created="Tue, 9 Jul 2019 21:06:02 +0000"  >&lt;p&gt;I attached a small C++ program to demonstrate the error.    Both `clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)` and `g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0`  give errors. &lt;/p&gt;</comment>
                            <comment id="250979" author="robl" created="Wed, 10 Jul 2019 22:14:16 +0000"  >&lt;p&gt;Here&apos;s a rough patch that makes g++ and clang++ happy. &lt;/p&gt;</comment>
                            <comment id="251107" author="pjones" created="Thu, 11 Jul 2019 17:09:01 +0000"  >&lt;p&gt;Rob&lt;/p&gt;

&lt;p&gt;Thank you for the bug report and patch. Are you able to submit your patch directly to Gerrit (see &lt;a href=&quot;http://wiki.lustre.org/Using_Gerrit&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://wiki.lustre.org/Using_Gerrit&lt;/a&gt; for details)? If not, then we can assign this ticket to another developer, but it will likely take longer to get attention&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="251124" author="robl" created="Thu, 11 Jul 2019 19:32:46 +0000"  >&lt;p&gt;I&apos;m going through the process.  info@whamcloud probably gets a ton of spam, but it also got a request from me asking for permission to push to gerrit.&lt;/p&gt;</comment>
                            <comment id="251125" author="pjones" created="Thu, 11 Jul 2019 19:43:20 +0000"  >&lt;p&gt;Try now Rob&lt;/p&gt;</comment>
                            <comment id="251126" author="gerrit" created="Thu, 11 Jul 2019 20:08:16 +0000"  >&lt;p&gt;Rob Latham (robl@mcs.anl.gov) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35471&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35471&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12527&quot; title=&quot;lustreapi.h not c++ compatible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12527&quot;&gt;&lt;del&gt;LU-12527&lt;/del&gt;&lt;/a&gt; utils: Make lustre_user.h c++-legal&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e23c74817c7d1d2d2993e6a55bd4a899bfca342d&lt;/p&gt;</comment>
                            <comment id="251127" author="robl" created="Thu, 11 Jul 2019 20:08:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/#/c/35471/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/35471/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="253068" author="gerrit" created="Thu, 15 Aug 2019 07:54:24 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35471/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35471/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12527&quot; title=&quot;lustreapi.h not c++ compatible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12527&quot;&gt;&lt;del&gt;LU-12527&lt;/del&gt;&lt;/a&gt; utils: Make lustre_user.h c++-legal&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 14b11dc3526ad12a138ad750ab8824b3438dc00d&lt;/p&gt;</comment>
                            <comment id="253106" author="pjones" created="Thu, 15 Aug 2019 13:44:28 +0000"  >&lt;p&gt;Landed for 2.13 - congrats Rob!&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="33097" name="0001-LU-12527-utils-Make-lustre_user.h-c-legal.patch" size="12013" author="robl" created="Wed, 10 Jul 2019 22:13:53 +0000"/>
                            <attachment id="33093" name="lustre-getstripe.cc" size="1100" author="robl" created="Tue, 9 Jul 2019 21:04:27 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i00jef:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>