Friday, February 26, 2010

Dev C++ error that bugged me for hours : cc1plus.exe C:\Dev-Cpp\cc1plus.exe unrecognized command line option "-fdollar-in-identifiers" and cc1plus.ex

--------------------------------------------------------------------------------------
cc1plus.exe C:\Dev-Cpp\cc1plus.exe unrecognized command line option "-fsave-memoized"
and
cc1plus.exe C:\Dev-Cpp\cc1plus.exe unrecognized command line option "-fdollar-in-identifiers"
-------------------------------------------------------------------------------------
well i had faced a lot of trouble trying to fix this error wondered what was wrong with my code but it has to be tackeled with ur compiler , i thought this would be really helpfull post since i googled like hell but could not find any correct answer to solve this however finally here 's the solution :


All you have to do is go to ur project and right click and go to project options,
under this go to "compiler Tab" and click on C++ compiler under it for the options
:
select "No" to options : acccept $ in identifier . ---> this will eliminate. cc1plus.exe C:\Dev-Cpp\cc1plus.exe unrecognized command line option "-fdollar-in-identifiers"

select "No" to options : use heuristics to compile fast.---> cc1plus.exe C:\Dev-Cpp\cc1plus.exe unrecognized command line option "-fsave-memoized"


hope it helps -
Ayeesha

6 comments:

Anonymous said...

I also have the same prob. Code shown below, from dev-c++

#include
int main()
{

std::cout<<"My first C++ program"<<
std::endl;

return 0;

ayeesha masrath said...

Hope the solution helped

ayeesha masrath said...

Hope the solution helped

Unknown said...

gracias, me fue muy Ăștil, ya me estaba doliendo la cabeza

Unknown said...

gracias me fue muy Ăștil, ya me empezaba a doler la cabeza.

mmasoud said...

thanks , changing project options solved issue