I got help from a professional C programmer. His suggestion fixed my problem. I'll pass it onto you. That fixed my compile issue, but now the upload is a problem. I am using a laptop, that may be a separate issue. I'm going to send his fix below, and I will create a separate post for my new problem. Here goes:
Here is a possible fix for your problem:
Go to:
c:\documents and settings\administrator\local settings\application data\ arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9\xtensa-lx106-elf\include\c++\4.8.2\
Now create a folder called
bits
Now go to
c:\documents and settings\administrator\local settings\application data\ arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9\xtensa-lx106-elf\include\c++\4.8.2\xtensa-lx106-elf\bits
and copy everything (outline with mouse and click Ctrl-c)
Now go to
c:\documents and settings\administrator\local settings\application data\ arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-3-20ed2b9\xtensa-lx106-elf\include\c++\4.8.2\bits
and paste the previously copied stuff there
(ctrl-v)