<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>I believe this is caused by the fact that jextract now propagates
      all diagnostics from the underlying clang parsing:</p>
    <p><a class="moz-txt-link-freetext" href="https://git.openjdk.org/jextract/pull/255">https://git.openjdk.org/jextract/pull/255</a></p>
    <p>I suppose that change is what is generating the extra "noise",
      although in this case it's possible that there's indeed a real
      "issue" in the underlying header file, where __declspec is applied
      to some incorrect program element.</p>
    <p>I guess in the future it might be possible to add a knob to
      select the level of "noise" coming from clang. In some cases it
      might be useful to see some of these messges, but I can also
      imagine cases where (e.g. during a build of something that's known
      to work) perhaps having too many messages from the underlying
      clang compiler might not be desirable. Something simple like
      verbose:all/info/warn/error.<br>
    </p>
    <p>Cheers<br>
      Maurizio<br>
    </p>
    <div class="moz-cite-prefix">On 16/11/2024 12:42, Jonathan Rosenne
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:PAVPR10MB67891E1E2923D59422D930C584252@PAVPR10MB6789.EURPRD10.PROD.OUTLOOK.COM">
      
      <meta name="Generator" content="Microsoft Word 15 (filtered medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        text-align:right;
        direction:rtl;
        unicode-bidi:embed;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;}span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:14.0pt;font-family:"Arial",sans-serif;color:#1F497D">With
            the new version 22-jextract+6-47 I am receiving the
            following warning:<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:14.0pt;font-family:"Arial",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:14.0pt;font-family:"Arial",sans-serif;color:#1F497D">"warning:
            'dllexport' attribute only applies to functions, variables,
            classes, and Objective-C interfaces"<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:14.0pt;font-family:"Arial",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:14.0pt;font-family:"Arial",sans-serif;color:#1F497D">The
            functions are defined indirectly (by means of a macro) for
            as __declspec(dllexport) 
            <o:p></o:p></span></p>
        <p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:14.0pt;font-family:"Arial",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:14.0pt;font-family:"Arial",sans-serif;color:#1F497D">The
            output is identical to that produced by the previous
            version.
            <o:p></o:p></span></p>
        <p class="MsoNormal" dir="RTL"><span dir="LTR" style="font-size:14.0pt;font-family:"Arial",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:14.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-ligatures:none">Best
            Regards,<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:14.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-ligatures:none"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:14.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-ligatures:none">Jonathan
            Rosenne</span><span style="font-size:14.0pt;color:#1F497D;mso-ligatures:none"><o:p></o:p></span></p>
        <p class="MsoNormal" dir="RTL"><span dir="LTR"><o:p> </o:p></span></p>
      </div>
    </blockquote>
  </body>
</html>