Patch from github.

At the moment it is not possible to build ROCr with Clang. This is
a spurious limitation. The present PR addresses it by guarding GCC
only flags and by fixing some additional warnings that Clang triggers;
one of said warnings did outline a rather interesting issue with math
being done on void*s. - AlexVlx

Void ptr arithmetic had already been fixed in amd-master branch.

Change-Id: I5ee97e20b5c40b10dd73facecabe75f02ba46462
This commit is contained in:
Sean Keely
2019-04-18 19:18:31 -05:00
parent 0c6b9532d4
commit e89f9807f1
8 changed files with 26 additions and 21 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ class HostQueue : public Queue {
void operator delete(void*, void*) {}
protected:
bool _IsA(Queue::rtti_t id) const { return id == &rtti_id_; }
bool _IsA(Queue::rtti_t id) const override { return id == &rtti_id_; }
private:
static int rtti_id_;