You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building using clang-cl (the awesome MSVC cl replacement), I get this error:
In file included from json_object.c:26:
./linkhash.h(262,1) : error: expected function body after function declarator
THIS_FUNCTION_IS_DEPRECATED(extern const void* lh_table_lookup(struct lh_table *t, const void *k));
^
./json_object.h(19,48) : note: expanded from macro 'THIS_FUNCTION_IS_DEPRECATED'
#define THIS_FUNCTION_IS_DEPRECATED(func) func __deprecated
^
If I make json_object.h check for __clang__after_MSC_VER, all seems okay:
When building using clang-cl (the awesome MSVC cl replacement), I get this error:
If I make
json_object.h
check for__clang__
after_MSC_VER
, all seems okay:The text was updated successfully, but these errors were encountered: