Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#if !__has_feature(capabilities)
#error "This should support capabilities"
#endif

#ifndef __CHERI__
#error Must be a hybrid library
#if !__has_feature(capabilities)
#error The compiler must support capabilities
#endif
#ifdef __CHERI_PURE_CAPABILITY__
#error Must be a hybrid library
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef __CHERI__
#error Must be a purecap library

#if !__has_feature(capabilities)
#error The compiler must support capabilities
#endif
#ifndef __CHERI_PURE_CAPABILITY__
#error Must be a purecap library
Expand Down
2 changes: 1 addition & 1 deletion tools/tools/syscall_timing/syscall_timing.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
#include <sys/time.h>
#include <sys/wait.h>

#ifdef __CHERI__
#if __has_feature(capabilities)
#include <cheri/cheri.h>
#endif

Check warning on line 43 in tools/tools/syscall_timing/syscall_timing.c

View workflow job for this annotation

GitHub Actions / Style Checker

Missing Signed-off-by: line
#include <assert.h>
#include <err.h>
#include <errno.h>
Expand Down