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
..
aten Rename tools/codegen to torchgen (#76275) 2022-04-25 01:38:06 +00:00
docker-ubuntu-14.04 Upgrade to ubuntu:trusty-20190515 (#63468) 2021-10-07 16:28:08 -07:00
fakelowp use irange for loops 2 (#66746) 2021-12-10 04:26:23 -08:00
gloo use irange for loops 2 (#66746) 2021-12-10 04:26:23 -08:00
ideep
nccl [ROCm] enable stream priorities (#47136) 2020-11-02 11:25:44 -08:00
nnpack Remove __future__ imports for legacy Python2 supports (#45033) 2020-09-23 17:57:02 -07:00
opencl use irange for loops 2 (#66746) 2021-12-10 04:26:23 -08:00
playground Remove __future__ imports for legacy Python2 supports (#45033) 2020-09-23 17:57:02 -07:00
prof Remove __future__ imports for legacy Python2 supports (#45033) 2020-09-23 17:57:02 -07:00
pytorch [Caffe2] ScriptModuleOp support pass_inputs_as_tensor_list (#56813) 2021-04-23 18:49:57 -07:00
script remediation of S205607 2020-07-17 17:19:47 -07:00
shm_mutex fix anon-struct usage that's a warning/error -Wnon-c-typedef-for-linkage (#137) 2022-05-02 18:14:30 +00:00
tensorboard Remove unused six code for Python 2/3 compatibility (#48077) 2020-12-22 18:07:08 -08:00
tensorrt [caffe2] Check for number of created subnets and optionally throw an error (#57366) 2021-07-08 14:29:03 -07:00
warpctc Remove __future__ imports for legacy Python2 supports (#45033) 2020-09-23 17:57:02 -07:00
__init__.py remediation of S205607 2020-07-17 17:19:47 -07:00
CMakeLists.txt [ROCm] utilize PUBLIC vs PRIVATE linking to avoid incorrect dependencies (#54727) 2021-03-30 19:22:56 -07:00