[llvm-bugs] [Bug 40415] __WORDSIZE defined as 32 for aarch64-linux-gnu
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 22 15:06:13 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=40415
Nick Desaulniers <ndesaulniers at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Nick Desaulniers <ndesaulniers at google.com> ---
PEBKAC
without -nostdinc, the system bits/wordsize.h gets pulled in. This has:
```c
3 #if defined __x86_64__ && !defined __ILP32__
4 # define __WORDSIZE 64
5 #else
6 # define __WORDSIZE 32
7 #endif
```
so that's why I'm seeing this error. Sorry for the noise; closing.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190122/6c4b1606/attachment-0001.html>
More information about the llvm-bugs
mailing list