Whoops -- that #include <cxxabi.h> wasn't supposed to sneak in there. If present, it may already define a __cxxabiv1::__guard that we could use, but that file comes from libstdc++, and I don't think the NuttX buildroot-based toolchain would have that, which is why we need libxx in the first place.

This commit is contained in:
Jim Paris 2017-06-09 07:40:31 -06:00 committed by Gregory Nutt
parent 18289e17ce
commit 4504ca7c82
2 changed files with 1 additions and 2 deletions

View File

@ -546,7 +546,7 @@ static int lib_dns_lookup(FAR const char *name, FAR struct hostent *host,
ptr += addrlen;
buflen -= addrlen;
/* And copy name */
/* And copy the name */
namelen = strlen(name);
if (addrlen + namelen + 1 > buflen)

View File

@ -38,7 +38,6 @@
//***************************************************************************
#include <nuttx/compiler.h>
#include <cxxabi.h>
//***************************************************************************
// Pre-processor Definitions