-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84024d1
commit 4e0808d
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4e0808d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear Respectful frasercrmck,
Thanks for your contributing a good example of making own LLVM backend.
While I am building your project with gcc-8 or later, I found a small compile error.
The detail that I faced is the same as following.
It was about not being able to convert unique_ptr to bool type implicitly.
So it was needed to be modified to convert explicitly, which was I did.
As is
bool hasMD() const { return MDMap; }
To be
bool hasMD() const { return static_cast<bool>(MDMap); }
Actually, I have not yet verified if certain side effects exist when using gcc 4.9.