<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Here are some macros in C headers such as<div class=""><br class=""><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(120, 73, 42); background-color: rgb(255, 255, 255);" class="">#define SITUATION1 <span style="color: #272ad8" class="">0x00000001</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(120, 73, 42); background-color: rgb(255, 255, 255);" class="">#define&nbsp;SITUATION1&nbsp;<span style="color: #272ad8" class="">0x00000002</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(120, 73, 42); background-color: rgb(255, 255, 255);" class="">#define SITUATION3 <span style="color: #272ad8" class="">0x00000004</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(120, 73, 42); background-color: rgb(255, 255, 255);" class="">#define SITUATION4 <span style="color: #272ad8" class="">0x00000008</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(120, 73, 42); background-color: rgb(255, 255, 255);" class="">#define SITUATIONALL (SITUATION1 | SITUATION2 | SITUATION3 | SITUATION4)</div></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(120, 73, 42); background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(120, 73, 42); background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;" class="">when use these value in swift</span></div></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class="">those lines are okay</div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><div style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="color: #ba2da2" class="">let</span> value1 = <span style="color: #4f8187" class="">SITUATION1</span></div><div style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="color: #ba2da2" class="">let</span> value2 = <span style="color: #4f8187" class="">SITUATION2</span></div><div style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="color: #ba2da2" class="">let</span> value3 = <span style="color: #4f8187" class="">SITUATION3</span></div><div style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="color: #ba2da2" class="">let</span> value4 = <span style="color: #4f8187" class="">SITUATION4</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">but this line would show error</div><div style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="color: #ba2da2" class="">let</span> valueAll = <span style="text-decoration: underline" class="">S</span>ITUATIONALL</div><div style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-family: Helvetica; font-size: 12px;" class="">&nbsp;Is it a bug ? or just be designed as it?</span></div></div></body></html>