-->
Page 1 of 1

'map' is ambiguous

PostPosted: Fri Mar 20, 2020 7:29 am
by Shummi
Hi

I really LOVE all the work you do, for us to >just< use

I have an old sketch that stopped working after updating the board.
It compile with 2.4.2, but not on 2.5.0
It was using NtpClientLib.h and ESP8266mDNS.h.
I stripped down and ended up here, and now i am lost
I found a similar problem online where they used std::map , but that wont compile

Does anybody know where I should look?

Code: Select all//#include <NtpClientLib.h>
#include <functional>
using namespace std;
using namespace placeholders;

#include <ESP8266mDNS.h>

void setup() {
  // put your setup code here, to run once:
  int x = map(55, 1000, 3, 5, 800);
}

void loop() {
}