tlk00 / BitMagic

BitMagic Library
http://bitmagic.io
Other
412 stars 48 forks source link

bmdef.h: Rework __has_attribute logic per Visual Studio warnings. #46

Closed ucko closed 5 years ago

ucko commented 5 years ago

Supply a conditional fallback definition as with __has_cpp_attribute, since attempting to rely on "&&" short-circuiting resulted in warnings from Microsoft Visual Studio (and possibly other compilers).

ghost commented 5 years ago

DeepCode Report (#b4015a)

DeepCode analyzed this pull request. There are no new issues.