<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:eric@efcs.ca" title="Eric Fiselier <eric@efcs.ca>"> <span class="fn">Eric Fiselier</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - undefined functions asprintf_l, snprintf_l"
   href="https://llvm.org/bugs/show_bug.cgi?id=10478">bug 10478</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>eric@efcs.ca
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - undefined functions asprintf_l, snprintf_l"
   href="https://llvm.org/bugs/show_bug.cgi?id=10478#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - undefined functions asprintf_l, snprintf_l"
   href="https://llvm.org/bugs/show_bug.cgi?id=10478">bug 10478</a>
              from <span class="vcard"><a class="email" href="mailto:eric@efcs.ca" title="Eric Fiselier <eric@efcs.ca>"> <span class="fn">Eric Fiselier</span></a>
</span></b>
        <pre>The compiler is expected and required to predefine the libc feature macros
required by the C++ STL, and it does. On Unix systems _GNU_SOURCE is a builtin
macro when compiling C++, which enables essentially all libc extensions.

It sn unfortunately not compatible for users to restrict libc to anything less
than the default feature set.

Also there is no such thing as defining a libc feature macro "for the duration"
of some header. That's fundamentally not how headers work.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>