8055754: filemap.cpp does not compile with clang

Reviewed-by: kvn, iklam, coleenp
This commit is contained in:
Staffan Larsen 2014-08-22 08:13:38 +02:00
parent 8d7b009834
commit fe076d8a29
2 changed files with 9 additions and 9 deletions

View file

@ -190,8 +190,8 @@ public:
bool remap_shared_readonly_as_readwrite();
// Errors.
static void fail_stop(const char *msg, ...);
static void fail_continue(const char *msg, ...);
static void fail_stop(const char *msg, ...) ATTRIBUTE_PRINTF(1, 2);
static void fail_continue(const char *msg, ...) ATTRIBUTE_PRINTF(1, 2);
// Return true if given address is in the mapped shared space.
bool is_in_shared_space(const void* p) NOT_CDS_RETURN_(false);