scipr-lab / libsnark

C++ library for zkSNARKs
Other
1.81k stars 579 forks source link

Fix usage of FMT macro from libff #74

Closed aleksejspopovs closed 7 years ago

aleksejspopovs commented 7 years ago

This is related to pull request #6 in libff.

The expression libff::FMT(...) doesn't make a lot of sense, because FMT is a macro. When DEBUG is off, this is expanded into libff::((libff::UNUSED(__VA_ARGS__), "")), which is a syntax error.

This pull request removes the unnecessary libff: prefix from all calls to FMT in libsnark.

aleksejspopovs commented 7 years ago

This pull request fixes issue #70.