[aspectc-user] (no subject)

Green Bryan - bgreen Bryan.Green at acxiom.com
Sat Sep 6 16:45:42 CEST 2003

I am trying to use aspectc++ 7.2 with VC++ 6.0.  I have a little test
program using string:

#include <string>
#include <iostream>

class Test
        std::string getName(){return theName;}
        void setName(const std::string& name){theName=name;}
        std::string theName;

int main() {
  Test a;

  std::cout << a.getName() << std::endl;

I try:

ac++ -I"C:\Program Files\Microsoft Visual Studio\VC98\Include" -a Action.ah
-c main.cpp

and these are the errors:
C:/Program Files/Microsoft Visual Studio/VC98/Include/xstring:108: error:
redefinition of 'append'
C:/Program Files/Microsoft Visual Studio/VC98/Include/xstring:100:
previously defined here

The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.

More information about the aspectc-user mailing list