On 18 March 2013 13:02, GUPTA, GAURAV G (GAURAV) wrote: > > Hello There > > While trying to compile my c++ application with new gcc/g++ I am hitting the below error . > Where as I see the timeval is defined in time.h and I have included time.h You're probably including a different header called time.h Check the preprocessor output to see which time.h is found.