diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2012-04-23 16:37:23 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2012-04-23 16:37:23 +0000 |
commit | 3099f4bda82ab231422c5dbbb815816b58724998 (patch) | |
tree | 944b10c678d798edc0dc13dba5cc2c30eee79981 /clang/unittests/Tooling/RecursiveASTVisitorTest.cpp | |
parent | 16c4a4f471b9ada6e9d67c812786724d4c33872f (diff) | |
download | bcm5719-llvm-3099f4bda82ab231422c5dbbb815816b58724998.tar.gz bcm5719-llvm-3099f4bda82ab231422c5dbbb815816b58724998.zip |
Conflict with st_dev/st_ino identifiers under Debian GNU/Hurd
The problem is that the struct file_status on UNIX systems has two
members called st_dev and st_ino; those are also members of the
struct stat, and they are reserved identifiers which can also be
provided as #define (and this is the case for st_dev on Hurd).
The solution (attached) is to rename them, for example adding a
"fs_" prefix (= file status) to them.
Patch by Pino Toscano
llvm-svn: 155354
Diffstat (limited to 'clang/unittests/Tooling/RecursiveASTVisitorTest.cpp')
0 files changed, 0 insertions, 0 deletions