Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include cassert for assert() declaration #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tpopela
Copy link
Contributor

@tpopela tpopela commented Oct 10, 2017

This fixes the following build fail:

/builddir/build/BUILD/webkitgtk-2.14.7/Source/ThirdParty/woff2/src/woff2_dec.cc: In function 'bool woff2::{anonymous}::ReconstructTransformedHmtx(const uint8_t*, size_t, uint16_t, uint16_t, const std::vector&, uint32_t*, woff2::WOFF2Out*)':
/builddir/build/BUILD/webkitgtk-2.14.7/Source/ThirdParty/woff2/src/woff2_dec.cc:693:37: error: 'assert' was not declared in this scope
assert(x_mins.size() == num_glyphs);
^

This fixes the following build fail:

/builddir/build/BUILD/webkitgtk-2.14.7/Source/ThirdParty/woff2/src/woff2_dec.cc: In function 'bool woff2::{anonymous}::ReconstructTransformedHmtx(const uint8_t*, size_t, uint16_t, uint16_t, const std::vector<short int>&, uint32_t*, woff2::WOFF2Out*)':
/builddir/build/BUILD/webkitgtk-2.14.7/Source/ThirdParty/woff2/src/woff2_dec.cc:693:37: error: 'assert' was not declared in this scope
   assert(x_mins.size() == num_glyphs);
                                     ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant