Files
pytorch/caffe2/contrib
Lucian Grijincu bf3dcb9599 fix anon-struct usage that's a warning/error -Wnon-c-typedef-for-linkage (#137)
Summary:
X-link: https://github.com/facebook/CacheLib/pull/137

Fix
  error: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage]

Test Plan:
```name=before
buck-out/v2/gen/fbcode/d839c731f5505c62/datasec/messaging/auth/utils/__MessagingAuthUtils__/headers/datasec/messaging/auth/utils/MessagingAuthLogger.h:83:25: error: anonymous non-C-compatible type given name for linkage purposes by alias declaration; add a tag name here [-Werror,-Wnon-c-typedef-for-linkage]
  using LogInfo = struct {
```

CI

Reviewed By: philippv

Differential Revision: D36043476

Pull Request resolved: https://github.com/pytorch/pytorch/pull/76610
Approved by: https://github.com/philippv, https://github.com/osalpekar
2022-05-02 18:14:30 +00:00
..
2021-12-10 04:26:23 -08:00
2021-12-10 04:26:23 -08:00
2021-12-10 04:26:23 -08:00
2020-07-17 17:19:47 -07:00
2020-07-17 17:19:47 -07:00