You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just spent quite some time tracking down a bug caused by upgrading the compiler from clang 9.0.1 to clang 10.0. But I am not sure if that is a compiler bug or something else.
But I thought I should share it anyway here.
Honestly, I have no clue how clang 9.0.1 arrives at {} meaning "object", I just don't see a code path leading there at first glance. Also, considering both old and new gcc agree with clang 10.0.0, I'd be inclined to say that it's clang 9 that's wrong here.
What is the issue you have?
I just spent quite some time tracking down a bug caused by upgrading the compiler from clang 9.0.1 to clang 10.0. But I am not sure if that is a compiler bug or something else.
But I thought I should share it anyway here.
The following piece of code:
using clang 9.0.1 produces:
and using clang 10.0.0 produces:
Which compiler and operating system are you using?
Which version of the library did you use?
The text was updated successfully, but these errors were encountered: