Thank It's in CPPFLAGS. but i found it after i look into the Makefile and try some arguments. Now i found that in /root/.bash_profile i set CXX to be my compiler command export CXX="g++ -ftemplate-depth-31" and it works with all the projects Eyal -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org]On Behalf Of Malte Starostik Sent: Monday, March 28, 2005 4:30 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] compile error Eyal Inbar schrieb: [how to add -ftemplate-depth-NN]
Thanks But how and where can i changed the flag in g++ ?
I don't know exactly where it is in KDevelop, but usually in IDEs, somewhere in the project options you can add/change compilation flags. Look around in the options, check the manual. For often used flags there may be predefined options to check, for things like the template depth you probably have to enter -ftemplate-depth-NN where NN is the desired value manually in some "extended options" or similar field. HTH, Malte _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users