There is currently a problem with the iostream library that is shipped with Microsofts VS2005 C++. This error only occurs when one tries to read UNIX-format configuration files while linking with Microsofts iostream. Some people complained that this has caused them headaches. The reason, I found out, is that istream goes back two positions if the last character was a 'newline'. Therefore the comments are not propperly recognized and the results are void. NOTE: If the configuration files are read and written with a Windows program such as Notepad, it will fill in carriage return characters after newlines and everything works fine. Until now, with the new MS lib, there is no way to keep GetPot files compatible from Unix to Windows. Any suggestions how to solve this problem are highly appreciated.