On 11/03/2017 08:14 AM, Martin Storsjö wrote:
> This effectively reverts f2b70c99. Since clang 3.4, __debugbreak
> is limited to -fms-extensions and thus not available by default
> when targeting mingw.
> 
> Signed-off-by: Martin Storsjö <mar...@martin.st>
> ---
> If you really want to retain support for clang < 3.4, I could try
> to add ifdefs to detect it. That would probably be something
> like this:
>  if !defined(__clang__) || (__clang_major__ > 3 || __clang_major__ == 3 && 
> __clang_minor__ >= 4)
> Clang doesn't set any define when -fms-extensions is set though,
> so we can't detect that.

Hi,

Thanks for the patch, I'd prefer if it checked for clang version. OK
otherwise.

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to