Commit e1491ff
Bug#34776172 MacOS: silence deprecated use warnings from XCode >= 14 (#1306)
Summary:
- We have much use of sprintf, which is now flagged by clang as unsafe. Silence this, since we have too many uses to rewrite easily.
- This version if Xcode also flags loss of precision from 64 to 32 bits integer, silence this also. Typically when x of type size_t is assigned to an int.
Change-Id: I3e5f829c7fdb8ddb08c56149bc0db1a5dc277f34
Pull Request resolved: #1306
Reviewed By: hermanlee
Differential Revision: D45658644
Pulled By: sunshine-Chun
fbshipit-source-id: e5fc7b31 parent 3afb4bd commit e1491ff
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
107 | 118 | | |
108 | 119 | | |
109 | 120 | | |
| |||
0 commit comments