[LLVMdev] What is the solution for this error from clang?
Riyaz Puthiyapurayil
Riyaz.Puthiyapurayil at synopsys.com
Thu Oct 30 12:14:57 PDT 2014
/usr/include/setjmp.h:58:12: error: conflicting types for '__sigsetjmp'
extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROW;
^
/usr/include/pthread.h:712:12: note: previous declaration is here
extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROW;
^
1 error generated.
Don't include both standard files??
% uname -o -m -r
2.6.18-274.12.1.el5 x86_64 GNU/Linux
More information about the llvm-dev
mailing list