-
-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error compiling LDC on OSX Mavericks in driver/linker.cpp #544
Comments
That's strange. LLVM 3.2 is the right version for OS X. And clang 3.3 can compile ldc. I can't check this right now as I don't have a OSX Mavericks installation at hand. |
Commenting out line 75 of template<typename Ty, int N>
struct Writer {
static void write(std::ostream& OS, const Ty& Thing) {
// OS << Thing;
}
}; |
Don't mean to bump this if it isn't relevant, but I ran into the same issue on OS X Mavericks. I have LLVM 3.4 installed via Homebrew, and I got the same issue when trying to compile LDC. Rather than comment out the line in
Don't know what about my config is different that allows LDC to compile correctly on other machines but not my own, but this allowed it to compile perfectly fine. Hope I didn't make a dumb mistake in doing this, but it seems to work okay for now — haven't done any thorough testing yet, though. |
I think at this point is is perfectly clear that any fix that allows compilation is a big improvement over the current state. Care to submit a pull request? Does including |
Actually, sticking |
Yes, please do! |
Yep, submitted a pull request —hope I did it right (never submitted one before). |
GCC version:
I should mention that I'm using LLVM version 3.2, from the archive linked on the wiki page on building LDC
I'm not sure if I've configured something incorrectly, or if this is a legit bug in compiling on OSX.
The text was updated successfully, but these errors were encountered: