https://bugs.llvm.org/show_bug.cgi?id=37529

Ethan Smith <et...@ethanhs.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Ethan Smith <et...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to