<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - error: use of undeclared identifier 'isascii' while compiling strstream.cpp"
href="https://bugs.llvm.org/show_bug.cgi?id=34330">34330</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>error: use of undeclared identifier 'isascii' while compiling strstream.cpp
</td>
</tr>
<tr>
<th>Product</th>
<td>libc++
</td>
</tr>
<tr>
<th>Version</th>
<td>5.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Catherine_Moore@mentor.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=19043" name="attach_19043" title="Build log file with error messages">attachment 19043</a> <a href="attachment.cgi?id=19043&action=edit" title="Build log file with error messages">[details]</a></span>
Build log file with error messages
I'm running into a problem building libcxx in conjunction with newlib. The
attached log file contains the error messages.
^
The problem appears to be that isascii is referenced in __locale, but the
include file cctype doesn't contain a definition.
__locale: return isascii(__c) ? (__tab_[static_cast<int>(__c)] & __m)
!=0 : false;
__locale: *__vec = isascii(*__low) ?
__tab_[static_cast<int>(*__low)] : 0;
__locale: if (isascii(*__low) && (__tab_[static_cast<int>(*__low)] &
__m))
__locale: if (!(isascii(*__low) && (__tab_[static_cast<int>(*__low)]
& __m)))
A definition of isascii can be found in newlib's ctype.h. What's the best way
to fix this?
Thanks,
Catherine</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>