[aspectc-user] Visual Studio and ac++ ?

Benoit Lefevre benoit.lefevre-prestataire at calyon.com
Tue Feb 26 22:01:43 CET 2008


Hello

	I am currently trying to use ac++ with the samples I found in
the win32 binary distrib.

	I tried it in both "environments" Visual Studio 7 and 8.

	Unfortunately, even after setting everything up like describe in
README.win32 
	and the ac++ (weaver ?) online manual, the best I could achieve
was something like :

-----------------------------------
* Running ac++ 1.0pre3
* Simple Dependency Check
  - new or modified: examples/Trace/TestTrace.ah
  - new or modified: examples/Trace/Trace.ah
  - new or modified: examples/Trace/header.h
  - new or modified: examples/Trace/mangle.h
* Handling Translation Unit `main.cc'.
  - Path "examples/Trace/main.cc"
  - Inserting namespace AC
  - Parsing ...
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:307:
error: invalid declaration near token `:'
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:309:
error: invalid declaration near token `:'
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:437:
error: invalid declaration near token `:'
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:445:
error: invalid declaration near token `:'
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:307:
error: `push' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:307:
error: `warning' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:307:
error: `pop' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:307:
error: `warning' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:309:
error: `push' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:309:
error: `warning' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:309:
error: `pop' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:309:
error: `warning' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:437:
error: `push' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:437:
error: `warning' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:437:
error: `pop' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:437:
error: `warning' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:445:
error: `push' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:445:
error: `warning' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:445:
error: `pop' undeclared here
D:/Program Files/Microsoft Visual Studio 8/VC/include/stdio.h:445:
error: `warning' undeclared here
  - Aborting
---------------------------------------

	As you can see I added Visual Studio 8 include directories in
the puma configuration file.

	I had the same behavior when I tried to refer to Visual Studio
.Net (vc7) include directories.

	It seems that Puma is having trouble handling Windows C++
pragma's, even after turning on the --vc option.

	I guess I've missed an important step during my try to use
Aspect C++, but I can not figure out which one it is.

	Maybe a missing parameter that I should put in the puma
configuration file ?

	Any help is welcome.

	Best regards.

Benoit Lefevre.

-------------- next part --------------
Ce message et ses pièces jointes (le "message") est destiné à l'usage    
exclusif de son destinataire.                                            
Si vous recevez ce message par erreur, merci d'en aviser immédiatement   
l'expéditeur  et de le détruire ensuite. Le présent message  pouvant  
être altéré à notre insu,  CALYON Crédit Agricole CIB                              
ne peut pas être engagé par son contenu. Tous droits réservés. 
          
This message and/or any  attachments (the "message") is intended for     
the sole use of its addressee.                                            
If you are not the addressee, please immediately notify the sender and    
then destroy the message.  As this message and/or any attachments may 
have been altered without our knowledge,  its content  is not legally 
binding on CALYON Crédit Agricole CIB. All rights reserved.                                                                


More information about the aspectc-user mailing list