strcasecmp template parameter issue
mikepurvis opened this issue · comments
Am getting this on an stm32plus::net
firmware, when compiled with 7-2018-q2-6:
/usr/local/arm-none-eabi/include/stm32plus-040100/net/application/dns/Dns.h: In member function 'bool stm32plus::net::Dns<TTransportLayer>::dnsHostnameQuery(const char*, stm32plus::net::IpAddress&)':
/usr/local/arm-none-eabi/include/stm32plus-040100/net/application/dns/Dns.h:193:11: error: there are no arguments to 'strcasecmp' that depend on a template parameter, so a declaration of 'strcasecmp' must be available [-fpermissive]
if(!strcasecmp(hostname,"localhost")) {
^~~~~~~~~~
/usr/local/arm-none-eabi/include/stm32plus-040100/net/application/dns/Dns.h:193:11: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)