microsoft c static_assert is shit

pull/14/head
despair86 6 years ago
parent e71c00f736
commit c14aed7809

@ -44,8 +44,6 @@ int r3_recip(small *r,const small *s)
small f[p + 1]; small f[p + 1];
small g[p + 1]; small g[p + 1];
#ifdef _MSC_VER #ifdef _MSC_VER
/* TODO(despair): make this a compile-time assertion */
assert(LOOPS == loops);
small u[LOOPS + 1]; small u[LOOPS + 1];
small v[LOOPS + 1]; small v[LOOPS + 1];
#else #else

@ -43,8 +43,6 @@ int rq_recip3(modq *r,const small *s)
modq f[p + 1]; modq f[p + 1];
modq g[p + 1]; modq g[p + 1];
#ifdef _MSC_VER #ifdef _MSC_VER
/* TODO(despair): make this a compile-time assertion */
assert(LOOPS == loops);
modq u[LOOPS + 1]; modq u[LOOPS + 1];
modq v[LOOPS + 1]; modq v[LOOPS + 1];
#else #else

Loading…
Cancel
Save