看了手册,只支持数字。https://ww1.microchip.com/downloads/en/DeviceDoc/HTC_PIC_manual.pdf
在第248页有解释
(212) missing number after pragma "pack"
The pragma pack requires a decimal number as argument. This specifies the align-ment of each member within the structure. Use this with caution as some processors enforce alignment and will not operate correctly if word fetches are made on odd boundaries, e.g.:#pragma pack /* what is the alignment value */Maybe you meant something like:#pragma pack 2