Recently, I switched from Visual Studio to Eclipse CDT. I\'ve set it up beautifully such that the G++ compiler from my Cygwin installation can locate and compile my code without
It worked for me too. The environment variable need to be set in the Eclipse preferences window under C/C++/Build/Environment. You need to add a new variable by clicking on the Add button. The variable name should be set to LANG and the value to en_US.ISO-8859-1. Does anyone know what is the cause of the problem? Cygwin, Eclipse, gcc???