[Maybe Spam] Re: [aspectc-user] RE: help
saurabhj at mastek.com
saurabhj at mastek.com
Mon Jan 19 11:32:07 CET 2004
My machine has Windows2000 Operating system. With g++ 2.95 or g++ 2.96 header files you mean to say linux/unix compiler ? i am speaking candidly i have no idea about g++ header file can you please tell me where to search and how to search these file? because i have already searched in
C:\Program Files\Microsoft Visual Studio\VC98\Bin;
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;
C:\Program Files\Microsoft Visual Studio\VC98\Include;
one important thing : i am able to compile and run examples directory, using BCC55 compiler where i set environment variable PUMA_CONFIG=c:\AC\pumabc55.cfg
and in my case i set PUMA_CONFIG = c:\AC\pumavc7.cfg
contents of pumavc7.cfg is following
-I C:\Program Files\Microsoft Visual Studio\VC98\Include
is it correct or not? do i need any more modification in pumavc7.cfg ?
From: Olaf Spinczyk [mailto:Olaf.Spinczyk at informatik.uni-erlangen.de]
Sent: Monday, January 19, 2004 3:35 PM
To: Saurabh Jain
Cc: aspectc-user at aspectc.org
Subject: [Maybe Spam] Re: [aspectc-user] RE: help
saurabhj at mastek.com wrote:
> I created a header file INANZUsermanager_AOP.h and includedall .hpp files in that now my tree is like this:
> |--- INANZusermanager_UserManagerImpl.cpp
> |--- INANZUsermanager_AOP.ah
> |--- INANZUsermanager_AOP.h
> |--- other1.hpp
> |--- other2.cpp
> |--- blah, blah, blah
> after that I tried the command given by you
> ac++ -p usermanager -d usermanager-out -I Usermanager -ecpp -v9
> i got following :
> (1) compiler started looking for other template related header files and cpp files and giving error at 2-3 places, i.e.
> string : No such file or directory
> list : No such file or directory
> map : No such file or directory
This shows that your puma.config file is not setup correctly. Make sure
that you have g++ 2.95 or g++ 2.96 header files installed somewhere on
your machine and that the -I options in the puma.config point to these
directories. If you have a system where this old compiler is installed
the puma.config file can easily be generated with pumag++conf.pl. If you
have a more recent compiler you have to install the old header files by
hand and edit the generated puma.config file. Note that ac++ currently
can't parse the STL part of g++ 3.x header files. Don't forget to set
the PUMA_CONFIG environment variable.
> (2) if i remove -ecpp option it is compiling perfectly and creating a new directory usermanager-out. it is also creating a file ac_gen.cc but not creating a new file INANZusermanager_UserManagerImpl.cpp in directory usermanager-out .
That works, because your cpp file is neither parsed nor manipulated. You
have to use -e cpp.
"Making a valuable difference"
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCO
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from all computers.
More information about the aspectc-user