You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "brbzull0 (via GitHub)" <gi...@apache.org> on 2024/04/15 09:28:19 UTC

[PR] libswoc: fix unresolved function type for transform_view_of. [trafficserver]

brbzull0 opened a new pull request, #11255:
URL: https://github.com/apache/trafficserver/pull/11255

   On some compilers this was showing an error as they  weren't able to decude the right function/type.
   
   ```
   include/swoc/Lexicon.h:570:39: error: no matching function for call to 'transform_view_of'
     return Hash32FNV1a().hash_immediate(transform_view_of(&toupper, s));
                                         ^~~~~~~~~~~~~~~~~
   include/swoc/TextView.h:1933:1: note: candidate template ignored: couldn't infer template argument 'X'
   transform_view_of(X const &xf, V const &src) {
   ^
   include/swoc/TextView.h:2065:1: note: candidate function template not viable: requires single argument 'v', but 2 arguments were provided
   transform_view_of(V const &v) {
   ....
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] libswoc: fix unresolved function type for transform_view_of. [trafficserver]

Posted by "cmcfarlen (via GitHub)" <gi...@apache.org>.
cmcfarlen commented on PR #11255:
URL: https://github.com/apache/trafficserver/pull/11255#issuecomment-2066758328

   Cherry-picked to v10.0.x


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] libswoc: fix unresolved function type for transform_view_of. [trafficserver]

Posted by "brbzull0 (via GitHub)" <gi...@apache.org>.
brbzull0 merged PR #11255:
URL: https://github.com/apache/trafficserver/pull/11255


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org