Hello My Echo My Shadow And Me,
If you must use Dev C++ there is a newer version 5.11 that would be better. Otherwise Code::Blocks or a version of MSVS, 2017 or 2019, would be a better choice. I use MSVS 2017 and 2019, but do not take that as an endorsement because I also use Code::Blocks and others at times.
Your code should not make any difference, but Dev C++ is set up to use a standard that is pre2011 so you may have some problems. Or as dutch
said it may have been a bad install.
If it is properly installed consider following this:
The DEV C++ that I have is version 5.11 with a build year of 2015.
To adjust the settings:
• Under the Tools menu choose "Compiler Options".
• In the window that comes up you will see tabs for "General", "Settings", "Directories" and "Programs".
• Choose the settings tab.
• In the next set of tabs that come up choose "Code Generation".
• The last line should say “Language Standard (-std).
• On the right side of that line click on the down arrow.
• In the list box that comes up choose "ISO C++ 11". // I believe this is the best choice.
• Press "OK".
This will let the IDE and compiler use the C++11 standards.
You should also look under the “Help” menu choice and click on "About" for more information.
Just so you know I ran this in my installed version of Dev C++ wit no problem.
You posted the contents of the log file, but the "Makefile.win" file would be of more use.