Sketch uses 320757 bytes (30%) of program storage space. Maximum is 1044464 bytes.
Global variables use 51176 bytes (62%) of dynamic memory, leaving 30744 bytes for local variables. Maximum is 81920 bytes.
At line 1132, you will find the SendLogOK routine. This is copied and modified code and is perfectly valid.
If you uncomment line 1136, an erroneous error appears saying that a routine is not defined yet it is defined and used all over the program. Here is the line to uncomment:
// AppendAndSendHTML("HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n", true, false);
AppendAndSendHTML is used multiple places and works just fine but when this line is uncommented, it claims it is not defined thus:
'AppendAndSendHTML' was not declared in this scope
What is causing the compiler to suddenly believe that this routine is not there?
I have had problems, previously, when I got much over 60% usage of dynamic memory. I have put everything that I can into F macros and that saved some space. Some stuff won't go into them. Something about not having a helper. Not sure what that is about but there is not a lot of it, anyway. But I cannot imagine why the compiler would care, anyway, about "too much" dynamic memory being used.
All help and pointers on this appreciated. This error ends project development until it is solved.