@@ -1130,7 +1130,8 @@ internal struct ComputedArgumentSize {
1130
1130
#elseif _pointerBitWidth(_32)
1131
1131
0x1FFF_FFFF
1132
1132
#else
1133
- #error("Unsupported platform")
1133
+ #warning("Unsupported platform")
1134
+ fatalError ( )
1134
1135
#endif
1135
1136
}
1136
1137
@@ -1141,7 +1142,8 @@ internal struct ComputedArgumentSize {
1141
1142
#elseif _pointerBitWidth(_32)
1142
1143
0x6000_0000
1143
1144
#else
1144
- #error("Unsupported platform")
1145
+ #warning("Unsupported platform")
1146
+ fatalError ( )
1145
1147
#endif
1146
1148
}
1147
1149
@@ -1152,7 +1154,8 @@ internal struct ComputedArgumentSize {
1152
1154
#elseif _pointerBitWidth(_32)
1153
1155
29
1154
1156
#else
1155
- #error("Unsupported platform")
1157
+ #warning("Unsupported platform")
1158
+ fatalError ( )
1156
1159
#endif
1157
1160
}
1158
1161
@@ -1164,7 +1167,8 @@ internal struct ComputedArgumentSize {
1164
1167
#elseif _pointerBitWidth(_32)
1165
1168
31
1166
1169
#else
1167
- #error("Unsupported platform")
1170
+ #warning("Unsupported platform")
1171
+ fatalError ( )
1168
1172
#endif
1169
1173
}
1170
1174
@@ -1226,7 +1230,8 @@ internal struct ComputedArgumentSize {
1226
1230
let shift = value &>> Self . alignmentShift
1227
1231
return shift == 1 ? 16 : 8
1228
1232
#else
1229
- #error("Unsupported platform")
1233
+ #warning("Unsupported platform")
1234
+ fatalError ( )
1230
1235
#endif
1231
1236
}
1232
1237
@@ -1241,7 +1246,8 @@ internal struct ComputedArgumentSize {
1241
1246
value &= ~ ( 1 &<< Self . alignmentShift)
1242
1247
value |= shift
1243
1248
#else
1244
- #error("Unsupported platform")
1249
+ #warning("Unsupported platform")
1250
+ fatalError ( )
1245
1251
#endif
1246
1252
}
1247
1253
}
0 commit comments