Clang on Windows

前端 未结 2 1122
醉酒成梦
醉酒成梦 2020-12-13 07:07

First of all, I\'ve followed \"Getting Started: Building and Running Clang\". In particular, I\'ve built it according to \"Using Visual Studio\" section. In other words, I\'

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-13 07:21

    The obvious answer is you forgot sending -fno-ms-compatibility to clang++ :P

    1. You are right.
    2. VC++ is GUI tool-chain, MinGW is character console.
    3. No as clang is mature enough for public consumption but still to stabilize so let its dev team work on the code otherwise you risk work that might become lost island. I'm using -I as your example suggests.

    I'm doing windows app dev using VS and use clang+CodeBlocks for sharing aspects neutral to platform's domain.

提交回复
热议问题