#pragma startup doesn't work on GCC

2009-07-22 Thread Debarshi Sanyal
Hi, gcc doesn't seem to support "#pragma startup" and "#pragma exit". I used gcc 4.0.0. Does there exist equivalent commands for these pragmas in gcc? Regards, Debarshi

How to turn off NRVO in gcc

2007-11-07 Thread Debarshi Sanyal
Hi, Is there any way to turn off "named return value optimization" (NRVO) while compiling a C++ program with g++? Please reply. This is very urgent. Regards, Debarshi