LinkGrammar.vcxproj: Update the list of source file names
form_match_list(): Don't use _Atomic
These fixes fix code that causes warnings:
table_lookup(): On !USE_TABLE_TRACON, return Count_bin type
estimate_log2_table_size(): Avoid warning on conversion to/from double
Change GNUC_NORETURN to NORETURN and define for MSVC too
MSVC: Remove the vcxproj.filters files
GitHub notifies: "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository." I don't understand this and hope it is just a GitHub bug.
table_count(): Bugfix !USE_TABLE_TRACON
This is not a bug in the production code, but it happens when defining USE_TABLE_TRACON as false for debugging. In that case, the function always returns an irrelevant wrong count 1.
The rest of the table_lookup() are improvements I found when fixing the w_Count_bin-related warning.
These fixes enable the build:
LinkGrammar.vcxproj
: Update the list of source file namesform_match_list()
: Don't use _AtomicThese fixes fix code that causes warnings:
table_lookup()
: On!USE_TABLE_TRACON
, return Count_bin typeestimate_log2_table_size()
: Avoid warning on conversion to/from doubleChange
GNUC_NORETURN
toNORETURN
and define for MSVC tooMSVC: Remove the
vcxproj.filters
files GitHub notifies: "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository." I don't understand this and hope it is just a GitHub bug.table_count(): Bugfix !USE_TABLE_TRACON This is not a bug in the production code, but it happens when defining
USE_TABLE_TRACON
asfalse
for debugging. In that case, the function always returns an irrelevant wrong count 1.The rest of the
table_lookup()
are improvements I found when fixing the w_Count_bin-related warning.