diff options
| author | Randy Dunlap <rdunlap@infradead.org> | 2019-04-26 08:20:13 -0700 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-09-02 17:34:00 +0200 |
| commit | 3c748099b5a79d74461c142248920316504c5cb0 (patch) | |
| tree | f466ca02706b44a548b10911b5e0364645428750 /validation/expand | |
| parent | d90c0838c1011e4a12f594e62a194966f52dd4ee (diff) | |
| download | sparse-dev-3c748099b5a79d74461c142248920316504c5cb0.tar.gz | |
problem building sparse 0.6.0 (sparse-llvm)
Certain macros have to be defined in order to use the llvm
DataTypes.h header file. Fixes these build errors when building
sparse-llvm:
CC sparse-llvm.o
In file included from /usr/include/llvm-c/Types.h:17:0,
from /usr/include/llvm-c/ErrorHandling.h:17,
from /usr/include/llvm-c/Core.h:18,
from sparse-llvm.c:6:
/usr/include/llvm/Support/DataTypes.h:57:3: error: #error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
# error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
^
/usr/include/llvm/Support/DataTypes.h:61:3: error: #error "Must #define __STDC_CONSTANT_MACROS before " "#including Support/DataTypes.h"
# error "Must #define __STDC_CONSTANT_MACROS before " \
^
This is from using llvm 3.8.0.
Suggested-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Diffstat (limited to 'validation/expand')
0 files changed, 0 insertions, 0 deletions
