[llvm-bugs] [Bug 37529] Invalid "conflicting types for" in header
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon May 21 23:17:51 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37529
Ethan Smith <ethan at ethanhs.me> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Ethan Smith <ethan at ethanhs.me> ---
>The fix is to add
>
>struct timeval;
>
>prior to your declaration of 'difference'.
I've done this as a work around. It seems MSVC has different scoping rules or
resolves structs differently. Thank you for the assistance. I'm guessing
clang-cl doesn't intend to support this weirdness, so I'll go ahead and close
the issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180522/9a485960/attachment.html>
More information about the llvm-bugs
mailing list