Skip to content

Conversation

andreasbaumann
Copy link
Contributor

Fails to build on 32-bit Intel (and ARMv6, ARMv7):

../main.cpp: In lambda function:
../main.cpp:204:43: error: no matching function for call to ‘vec_has(const std::vector<long unsigned int>&, myhtml_tag_id_t&)’
     if(vec_has(breaking, node_iter->tag_id)){ // <br/>
                                           ^
../main.cpp:101:35: note: candidate: ‘template<class T> bool vec_has(const std::vector<T>&, T)’
 template <typename T> inline bool vec_has(const vector<T> &vec, T val){
                                   ^~~~~~~
../main.cpp:101:35: note:   template argument deduction/substitution failed:
../main.cpp:204:43: note:   deduced conflicting types for parameter ‘T’ (‘long unsigned int’ and ‘unsigned int’)
     if(vec_has(breaking, node_iter->tag_id)){ // <br/>
                                           ^
ninja: build stopped: subcommand failed.

@coderobe coderobe merged commit 9f02436 into coderobe:master Nov 25, 2018
@coderobe
Copy link
Owner

Good catch. Thanks!

@andreasbaumann
Copy link
Contributor Author

no problem. :-)

@andreasbaumann andreasbaumann deleted the ia32 branch November 26, 2018 17:26
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.

2 participants