Skip to content

keil编译在0b1010这种数字附近报错: error: #18: expected a ")" #5

Description

@530china

keil使用armcc编译器,不支持0b00这种二进制数据表示,需要在选中keil的GNU extentions选项,具体位置为Options For Target按钮 ->弹窗里选择C/C++,就可以看到GNU extentions了,打上勾即可;
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions